From 193a801c03f27d5888d6e7347c18fbc925b72f1d Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Wed, 9 Feb 2005 09:47:18 +0000 Subject: Added preliminary support for OFX, using libofx. Needs much real-world testing. --- ofx.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 ofx.h (limited to 'ofx.h') diff --git a/ofx.h b/ofx.h new file mode 100644 index 00000000..9b017bfa --- /dev/null +++ b/ofx.h @@ -0,0 +1,21 @@ +#ifndef _OFX_H +#define _OFX_H + +#include "parser.h" + +namespace ledger { + +class ofx_parser_t : public parser_t +{ + public: + virtual bool test(std::istream& in) const; + + virtual unsigned int parse(std::istream& in, + journal_t * journal, + account_t * master = NULL, + const std::string * original_file = NULL); +}; + +} // namespace ledger + +#endif // _OFX_H -- cgit v1.2.3