From cdea8aa18c8bbd018849fb890dba87f7ef1a1140 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 19 May 2007 03:10:51 +0000 Subject: Began initial structure for journal_builder_t. --- src/main.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/main.cc') diff --git a/src/main.cc b/src/main.cc index 0e46a926..2b9b71f0 100644 --- a/src/main.cc +++ b/src/main.cc @@ -36,7 +36,7 @@ //#endif //#include "qif.h" //#include "ofx.h" -#include "builder.h" +#include "jbuilder.h" #include @@ -192,9 +192,9 @@ static int read_and_report(ledger::report_t& report, int argc, char * argv[], INFO_START(journal, "Read journal file"); - xml::document_t xml_document(xml::LEDGER_NODE); - journal_t * journal = session.create_journal(); - xml::document_builder_t builder(xml_document); + xml::document_t xml_document(xml::LEDGER_NODE); + journal_t * journal = session.create_journal(); + xml::journal_builder_t builder(xml_document, journal); if (! session.read_data(builder, journal, report.account)) throw_(parse_error, "Failed to locate any journal entries; " -- cgit v1.2.3