summaryrefslogtreecommitdiff
path: root/textual.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-11-09 07:11:22 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:21 -0400
commite1d0dbf220a5301f6125a1548a380492ad488515 (patch)
treedf7a5de60353d3558b00d21ee83cf01e8da56331 /textual.h
parent6f4957c8c31395bca44d078972690eb2b3258a8f (diff)
downloadfork-ledger-e1d0dbf220a5301f6125a1548a380492ad488515.tar.gz
fork-ledger-e1d0dbf220a5301f6125a1548a380492ad488515.tar.bz2
fork-ledger-e1d0dbf220a5301f6125a1548a380492ad488515.zip
Restructed the code that it can build and be used as a shared library.
The command-line version is still statically bound in the build process by default (for the sake of speed).
Diffstat (limited to 'textual.h')
-rw-r--r--textual.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/textual.h b/textual.h
index 741c21e8..64107e0a 100644
--- a/textual.h
+++ b/textual.h
@@ -2,6 +2,7 @@
#define _TEXTUAL_H
#include "parser.h"
+#include "format.h"
#include "walk.h"
namespace ledger {
@@ -22,6 +23,7 @@ transaction_t * parse_transaction(std::istream& in, account_t * account);
void write_textual_journal(journal_t& journal, std::string path,
item_handler<transaction_t>& formatter,
+ const std::string& write_hdr_format,
std::ostream& out);
} // namespace ledger