summaryrefslogtreecommitdiff
path: root/src/journal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal.h')
-rw-r--r--src/journal.h14
1 files changed, 2 insertions, 12 deletions
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;
};