summaryrefslogtreecommitdiff
path: root/emacs.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-07-26 04:08:55 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-07-26 04:08:55 -0400
commit961b30926b3b9f2b3e9c1a99df3f25fea6b13118 (patch)
treef0f5efcc0b63f337c4838b8aad46dea2cd7926e4 /emacs.h
parentee396957226e2273bc60ede7192c27038c432f24 (diff)
downloadfork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.tar.gz
fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.tar.bz2
fork-ledger-961b30926b3b9f2b3e9c1a99df3f25fea6b13118.zip
--verify works again, but the memory totals at the end still need work.
Diffstat (limited to 'emacs.h')
-rw-r--r--emacs.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/emacs.h b/emacs.h
index ea58bad8..1a362cb2 100644
--- a/emacs.h
+++ b/emacs.h
@@ -8,13 +8,20 @@ namespace ledger {
class format_emacs_transactions : public item_handler<transaction_t>
{
- protected:
+ format_emacs_transactions();
+
+protected:
std::ostream& out;
entry_t * last_entry;
- public:
+public:
format_emacs_transactions(std::ostream& _out)
- : out(_out), last_entry(NULL) {}
+ : out(_out), last_entry(NULL) {
+ TRACE_CTOR(format_emacs_transactions, "std::ostream&");
+ }
+ ~format_emacs_transactions() {
+ TRACE_DTOR(format_emacs_transactions);
+ }
virtual void write_entry(entry_t& entry);
virtual void flush() {