diff options
author | John Wiegley <johnw@newartisans.com> | 2008-08-03 00:22:55 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-08-03 00:22:55 -0400 |
commit | 363fb6d55823cb84f49735e795232837a40a4f0c (patch) | |
tree | 4849b4aa7f00709bcb920d0971de829492ee6907 /session.h | |
parent | dfc14dfff3dfc31e21ea7f11f9723de977d6c179 (diff) | |
download | fork-ledger-363fb6d55823cb84f49735e795232837a40a4f0c.tar.gz fork-ledger-363fb6d55823cb84f49735e795232837a40a4f0c.tar.bz2 fork-ledger-363fb6d55823cb84f49735e795232837a40a4f0c.zip |
Got date, payee and accounts back into the register report.
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -39,6 +39,8 @@ namespace ledger { +class report_t; + class session_t : public noncopyable, public scope_t { static void initialize(); @@ -50,6 +52,8 @@ class session_t : public noncopyable, public scope_t public: static session_t * current; + scoped_ptr<report_t> current_report; + path data_file; optional<path> init_file; optional<path> cache_file; @@ -89,10 +93,7 @@ public: mutable accounts_map accounts_cache; session_t(); - - virtual ~session_t() { - TRACE_DTOR(session_t); - } + virtual ~session_t(); journal_t * create_journal() { journal_t * journal = new journal_t(this); |