diff options
Diffstat (limited to 'binary.h')
-rw-r--r-- | binary.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -275,6 +275,19 @@ inline void write_object(std::ostream& out, const T& journal) { void write_journal(std::ostream& out, journal_t * journal); } // namespace binary + +class binary_parser_t : public parser_t +{ + public: + virtual bool test(std::istream& in) const; + + virtual unsigned int parse(std::istream& in, + config_t& config, + journal_t * journal, + account_t * master = NULL, + const path * original_file = NULL); +}; + } // namespace ledger #endif // BINARY_H |