summaryrefslogtreecommitdiff
path: root/src/ofx.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2007-04-30 06:26:38 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 03:38:33 -0400
commitc8899addfd2deed3d84be2de234681db64987722 (patch)
tree07f9a5eb603ff4ec83fe18c83083575d2b7a439a /src/ofx.h
parentaa9cc125796711afcaa459898e95527fdae8e912 (diff)
downloadfork-ledger-c8899addfd2deed3d84be2de234681db64987722.tar.gz
fork-ledger-c8899addfd2deed3d84be2de234681db64987722.tar.bz2
fork-ledger-c8899addfd2deed3d84be2de234681db64987722.zip
Rearranged the sources a bit.
Diffstat (limited to 'src/ofx.h')
-rw-r--r--src/ofx.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/ofx.h b/src/ofx.h
new file mode 100644
index 00000000..54713c17
--- /dev/null
+++ b/src/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 string * original_file = NULL);
+};
+
+} // namespace ledger
+
+#endif // _OFX_H