From 77db7eb92f730af315d4bcdf831cc67acb386b58 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Mon, 14 May 2007 11:09:06 +0000 Subject: Added initial support for using builders from the various parsers; at the moment is just uses the xml_writer_t builder to output the contents of the ledger journal as XML --- src/session.h | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/session.h') diff --git a/src/session.h b/src/session.h index 4027bc95..cf75b600 100644 --- a/src/session.h +++ b/src/session.h @@ -148,15 +148,11 @@ class session_t : public xml::xpath_t::scope_t checked_delete(journal); } - unsigned int read_journal(std::istream& in, - journal_t * journal, - account_t * master = NULL, - const optional& original = none); - - unsigned int read_journal(const path& pathname, - journal_t * journal, - account_t * master = NULL, - const optional& original = none); + void read_journal(std::istream& in, + const path& pathname, + xml::builder_t& builder); + void read_journal(const path& pathname, + xml::builder_t& builder); void read_init(); -- cgit v1.2.3