From 1cc33531ea7cf82e41b1ed49bf8ffc5afea084e4 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 4 Feb 2009 03:34:37 -0400 Subject: Simplified the textual parser, and improved metadata support. --- src/journal.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/journal.h') diff --git a/src/journal.h b/src/journal.h index f8f53ec4..ff060d76 100644 --- a/src/journal.h +++ b/src/journal.h @@ -113,7 +113,9 @@ public: TRACE_DTOR(journal_t::parser_t); } +#if defined(TEST_FOR_PARSER) virtual bool test(std::istream& in) const = 0; +#endif virtual std::size_t parse(std::istream& in, session_t& session, @@ -122,18 +124,6 @@ public: const path * original_file = NULL) = 0; }; - class binary_parser_t : public parser_t - { - public: - virtual bool test(std::istream& in) const; - - virtual std::size_t parse(std::istream& in, - session_t& session, - journal_t& journal, - account_t * master = NULL, - const path * original_file = NULL); - }; - bool valid() const; }; -- cgit v1.2.3