~mterry/ubuntu/natty/libofx/libofx.new-upstream-benoit-sru

« back to all changes in this revision

Viewing changes to lib/context.hh

  • Committer: Bazaar Package Importer
  • Author(s): Saïvann Carignan
  • Date: 2008-02-06 17:25:16 UTC
  • mto: (3.1.2 lenny)
  • mto: This revision was merged to the branch mainline in revision 11.
  • Revision ID: james.westby@ubuntu.com-20080206172516-bnzxb29igye8um9h
Tags: upstream-0.9.0
Import upstream version 0.9.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#include "libofx.h"
19
19
#include "ParserEventGeneratorKit.h"
20
20
 
 
21
#include <string>
 
22
 
 
23
 
21
24
using namespace std;
22
25
class LibofxContext {
23
26
private:
35
38
  void * _securityData;
36
39
  void * _statusData;
37
40
 
 
41
  std::string _dtdDir;
 
42
 
38
43
public:
39
44
  LibofxContext();
40
45
  ~LibofxContext();
42
47
  LibofxFileFormat currentFileType() const;
43
48
  void setCurrentFileType(LibofxFileFormat t);
44
49
 
 
50
  const std::string &dtdDir() const { return _dtdDir;};
 
51
  void setDtdDir(const std::string &s) {_dtdDir=s;};
 
52
 
45
53
  int statementCallback(const struct OfxStatementData data);
46
54
  int accountCallback(const struct OfxAccountData data);
47
55
  int transactionCallback(const struct OfxTransactionData data);