ledger/gnucash.h
John Wiegley 4518ea9540 Value expression architecture is now rewritten, but the functionality of the
old system (for example, the meaning of 'a') has yet to be restored.  In the
new scheme, this will be done by definition a function outside of the value
expression logic, rather than the tight coupling between journal innards and
value expressions that occurred in 2.x.
2008-07-29 05:59:38 -04:00

22 lines
430 B
C++

#ifndef _GNUCASH_H
#define _GNUCASH_H
#include "journal.h"
namespace ledger {
class gnucash_parser_t : public journal_t::parser_t
{
public:
virtual bool test(std::istream& in) const;
virtual unsigned int parse(std::istream& in,
session_t& session,
journal_t& journal,
account_t * master = NULL,
const path * original_file = NULL);
};
} // namespace ledger
#endif // _GNUCASH_H