diff options
author | John Wiegley <johnw@newartisans.com> | 2006-03-24 01:41:22 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:31 -0400 |
commit | 44561c1c1d233d9432de319a71b44a3e05275d49 (patch) | |
tree | 3b9fa53fa4bd0e50e0890f6aafea69533e89832c /walk.h | |
parent | 964e74e333cb20d3519be64f79e19224f2bcc84e (diff) | |
download | fork-ledger-44561c1c1d233d9432de319a71b44a3e05275d49.tar.gz fork-ledger-44561c1c1d233d9432de319a71b44a3e05275d49.tar.bz2 fork-ledger-44561c1c1d233d9432de319a71b44a3e05275d49.zip |
Further refinement of commodity lot information.
Diffstat (limited to 'walk.h')
-rw-r--r-- | walk.h | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -579,6 +579,22 @@ class set_comm_as_payee : public item_handler<transaction_t> virtual void operator()(transaction_t& xact); }; +class set_code_as_payee : public item_handler<transaction_t> +{ + std::list<entry_t> entry_temps; + std::list<transaction_t> xact_temps; + + public: + set_code_as_payee(item_handler<transaction_t> * handler) + : item_handler<transaction_t>(handler) {} + + ~set_code_as_payee() { + clear_entries_transactions(entry_temps); + } + + virtual void operator()(transaction_t& xact); +}; + class dow_transactions : public subtotal_transactions { transactions_list days_of_the_week[7]; |