diff options
author | John Wiegley <johnw@newartisans.com> | 2005-02-09 09:47:18 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:40:55 -0400 |
commit | 193a801c03f27d5888d6e7347c18fbc925b72f1d (patch) | |
tree | e509fdc72bcfb4d8f72290a2081a0568d7924fbc /ofx.h | |
parent | bbffd8632e2f70fd76533d02f338d1f3b618ca63 (diff) | |
download | fork-ledger-193a801c03f27d5888d6e7347c18fbc925b72f1d.tar.gz fork-ledger-193a801c03f27d5888d6e7347c18fbc925b72f1d.tar.bz2 fork-ledger-193a801c03f27d5888d6e7347c18fbc925b72f1d.zip |
Added preliminary support for OFX, using libofx. Needs much
real-world testing.
Diffstat (limited to 'ofx.h')
-rw-r--r-- | ofx.h | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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 |