diff options
author | John Wiegley <johnw@newartisans.com> | 2008-07-29 20:10:03 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-07-29 20:10:03 -0400 |
commit | ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e (patch) | |
tree | 492a147199ad921959f86e8f0b4ec4edc1eeed46 /emacs.h | |
parent | 200d919fe7c8bcf021011c16fb6ec50821444d5e (diff) | |
download | fork-ledger-ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e.tar.gz fork-ledger-ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e.tar.bz2 fork-ledger-ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e.zip |
Moved around and renamed a very large amount of code in order to rationalize
the way that value expressions extract information from journal objects.
Diffstat (limited to 'emacs.h')
-rw-r--r-- | emacs.h | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -6,21 +6,21 @@ namespace ledger { -class format_emacs_transactions : public item_handler<transaction_t> +class format_emacs_xacts : public item_handler<xact_t> { - format_emacs_transactions(); + format_emacs_xacts(); protected: std::ostream& out; entry_t * last_entry; public: - format_emacs_transactions(std::ostream& _out) + format_emacs_xacts(std::ostream& _out) : out(_out), last_entry(NULL) { - TRACE_CTOR(format_emacs_transactions, "std::ostream&"); + TRACE_CTOR(format_emacs_xacts, "std::ostream&"); } - ~format_emacs_transactions() { - TRACE_DTOR(format_emacs_transactions); + ~format_emacs_xacts() { + TRACE_DTOR(format_emacs_xacts); } virtual void write_entry(entry_t& entry); @@ -29,7 +29,7 @@ public: out << "))\n"; out.flush(); } - virtual void operator()(transaction_t& xact); + virtual void operator()(xact_t& xact); }; } // namespace ledger |