From 42f43b7686038e4cbca16d8d2118b139544e6de3 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sun, 13 Apr 2008 03:35:00 -0400 Subject: Check in all changes made so far toward 3.0. --- emacs.h | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'emacs.h') diff --git a/emacs.h b/emacs.h index ea58bad8..e69de29b 100644 --- a/emacs.h +++ b/emacs.h @@ -1,30 +0,0 @@ -#ifndef _EMACS_H -#define _EMACS_H - -#include "journal.h" -#include "format.h" - -namespace ledger { - -class format_emacs_transactions : public item_handler -{ - protected: - std::ostream& out; - entry_t * last_entry; - - public: - format_emacs_transactions(std::ostream& _out) - : out(_out), last_entry(NULL) {} - - virtual void write_entry(entry_t& entry); - virtual void flush() { - if (last_entry) - out << "))\n"; - out.flush(); - } - virtual void operator()(transaction_t& xact); -}; - -} // namespace ledger - -#endif // _REPORT_H -- cgit v1.2.3