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
commitf691735c6ce89a19356769084449d3f5691ab030 (patch)
treedf7a5de60353d3558b00d21ee83cf01e8da56331 /textual.h
parent3a689c568a715e7c6604825eab537d66333ce291 (diff)
downloadfork-ledger-f691735c6ce89a19356769084449d3f5691ab030.tar.gz
fork-ledger-f691735c6ce89a19356769084449d3f5691ab030.tar.bz2
fork-ledger-f691735c6ce89a19356769084449d3f5691ab030.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