00001
00002
00003
00004
00005
00006
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef OFX_REQUEST_H
00021 #define OFX_REQUEST_H
00022
00023 #include <string>
00024 #include "libofx.h"
00025 #include "ofx_aggregate.hh"
00026
00027 using namespace std;
00028
00036 class OfxRequest: public OfxAggregate
00037 {
00038 public:
00045 OfxRequest(const OfxFiLogin& fi): OfxAggregate("OFX"), m_login(fi) {}
00046
00047 protected:
00054 OfxAggregate SignOnRequest(void) const;
00055
00067 OfxAggregate RequestMessage(const string& msgtype, const string& trntype, const OfxAggregate& aggregate ) const;
00068
00069 protected:
00070 OfxFiLogin m_login;
00071 };
00072
00077
00078 string time_t_to_ofxdatetime( time_t time );
00079 string time_t_to_ofxdate( time_t time );
00080 string OfxHeader(void);
00081
00083
00084 #endif // OFX_REQUEST_H