From ea27d1b45a5ff975a1e90e3e9f4b74ff8d34056e Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 29 Jul 2008 20:10:03 -0400 Subject: Moved around and renamed a very large amount of code in order to rationalize the way that value expressions extract information from journal objects. --- textual.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'textual.h') diff --git a/textual.h b/textual.h index 71e44a94..438d5ea2 100644 --- a/textual.h +++ b/textual.h @@ -19,13 +19,14 @@ public: const path * original_file = NULL); }; -transaction_t * parse_transaction_text(char * line, account_t * account); -transaction_t * parse_transaction(std::istream& in, account_t * account); - -void write_textual_journal(journal_t& journal, path pathname, - item_handler& formatter, - const string& write_hdr_format, - std::ostream& out); +xact_t * parse_xact_text(char * line, account_t * account); +xact_t * parse_xact(std::istream& in, account_t * account); + +void write_textual_journal(journal_t& journal, + const path& pathname, + xact_handler_ptr& formatter, + const string& write_hdr_format, + std::ostream& out); class include_context : public file_context { -- cgit v1.2.3