From 44561c1c1d233d9432de319a71b44a3e05275d49 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 24 Mar 2006 01:41:22 +0000 Subject: Further refinement of commodity lot information. --- walk.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'walk.h') diff --git a/walk.h b/walk.h index 505d27a7..25a36b4e 100644 --- a/walk.h +++ b/walk.h @@ -579,6 +579,22 @@ class set_comm_as_payee : public item_handler virtual void operator()(transaction_t& xact); }; +class set_code_as_payee : public item_handler +{ + std::list entry_temps; + std::list xact_temps; + + public: + set_code_as_payee(item_handler * handler) + : item_handler(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]; -- cgit v1.2.3