diff options
author | John Wiegley <johnw@newartisans.com> | 2008-09-19 08:06:20 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-09-19 08:06:20 -0400 |
commit | fdc7a4e4c5423e79df4ad8905b5a67d45d2f85bc (patch) | |
tree | b7aa301f7d884315f00c42903778ea549e7833d7 /src/journal.h | |
parent | 43ba0bb03807eea3fdcd4dd40fba10b00f823e24 (diff) | |
download | fork-ledger-fdc7a4e4c5423e79df4ad8905b5a67d45d2f85bc.tar.gz fork-ledger-fdc7a4e4c5423e79df4ad8905b5a67d45d2f85bc.tar.bz2 fork-ledger-fdc7a4e4c5423e79df4ad8905b5a67d45d2f85bc.zip |
Factored common parts of entry_t and xact_t into new item_t
Diffstat (limited to 'src/journal.h')
-rw-r--r-- | src/journal.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/journal.h b/src/journal.h index 293439bb..487b0841 100644 --- a/src/journal.h +++ b/src/journal.h @@ -46,7 +46,6 @@ class account_t; class journal_t : public noncopyable { public: - session_t * owner; account_t * master; account_t * basket; entries_list entries; @@ -58,11 +57,11 @@ public: hooks_t<entry_finalizer_t, entry_t> entry_finalize_hooks; - journal_t(session_t * _owner); + journal_t(); ~journal_t(); - // These four methods are delegated to 'owner', since all accounts processed - // are gathered together at the session level. + // These four methods are delegated to the current session, since all + // accounts processed are gathered together at the session level. void add_account(account_t * acct); bool remove_account(account_t * acct); account_t * find_account(const string& name, bool auto_create = true); |