diff options
author | John Wiegley <johnw@newartisans.com> | 2007-05-19 03:10:51 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 03:39:05 -0400 |
commit | cdea8aa18c8bbd018849fb890dba87f7ef1a1140 (patch) | |
tree | 3c8c1236d64708d681f2b907812bdfb59ea28c13 /src/main.cc | |
parent | 9e06dfa5cb160a365ef6745b2aa01367a2c6d67f (diff) | |
download | ledger-cdea8aa18c8bbd018849fb890dba87f7ef1a1140.tar.gz ledger-cdea8aa18c8bbd018849fb890dba87f7ef1a1140.tar.bz2 ledger-cdea8aa18c8bbd018849fb890dba87f7ef1a1140.zip |
Began initial structure for journal_builder_t.
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 8 |
1 files changed, 4 insertions, 4 deletions
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 <ledger.h> @@ -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; " |