summaryrefslogtreecommitdiff
path: root/emacs.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:00 -0400
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:35:00 -0400
commit42f43b7686038e4cbca16d8d2118b139544e6de3 (patch)
tree52c5473401c57282242d66b8dd75f4c07bf41d07 /emacs.h
parentc7b4370ff9c8ab5c96f15b1e712e6db6bdab6324 (diff)
downloadfork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.tar.gz
fork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.tar.bz2
fork-ledger-42f43b7686038e4cbca16d8d2118b139544e6de3.zip
Check in all changes made so far toward 3.0.
Diffstat (limited to 'emacs.h')
-rw-r--r--emacs.h30
1 files changed, 0 insertions, 30 deletions
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<transaction_t>
-{
- 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