diff options
author | John Wiegley <johnw@newartisans.com> | 2010-06-13 15:04:53 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-06-13 15:04:53 -0400 |
commit | 0c699e4d57fe91fa04c4c2f23f9c2f2a6a5da582 (patch) | |
tree | 985c50c080c077fa931ed9bf01c3895cbb851eda /src/journal.h | |
parent | 40f553228f5a28034c6635fdcb4c86af28a385ed (diff) | |
parent | cf0147fcd04fc7ec4b3849350430e47169581e64 (diff) | |
download | fork-ledger-0c699e4d57fe91fa04c4c2f23f9c2f2a6a5da582.tar.gz fork-ledger-0c699e4d57fe91fa04c4c2f23f9c2f2a6a5da582.tar.bz2 fork-ledger-0c699e4d57fe91fa04c4c2f23f9c2f2a6a5da582.zip |
Merge branch 'next'
Diffstat (limited to 'src/journal.h')
-rw-r--r-- | src/journal.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/journal.h b/src/journal.h index ca6b6e4f..183d074d 100644 --- a/src/journal.h +++ b/src/journal.h @@ -140,8 +140,10 @@ public: account_t * find_account(const string& name, bool auto_create = true); account_t * find_account_re(const string& regexp); - bool add_xact(xact_t * xact); - void extend_xact(xact_base_t * xact); + bool add_xact(xact_t * xact, + optional<date_t::year_type> current_year = none); + void extend_xact(xact_base_t * xact, + optional<date_t::year_type> current_year = none); bool remove_xact(xact_t * xact); xacts_list::iterator xacts_begin() { |