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.
22 lines
430 B
C++
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
|