summaryrefslogtreecommitdiff
path: root/ofx.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2005-02-09 09:47:18 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:40:55 -0400
commit193a801c03f27d5888d6e7347c18fbc925b72f1d (patch)
treee509fdc72bcfb4d8f72290a2081a0568d7924fbc /ofx.h
parentbbffd8632e2f70fd76533d02f338d1f3b618ca63 (diff)
downloadfork-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.h21
1 files changed, 21 insertions, 0 deletions
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