statementinterface.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef STATEMENTINTERFACE_H
00019 #define STATEMENTINTERFACE_H
00020
00021 #ifdef HAVE_CONFIG_H
00022 #include <config.h>
00023 #endif
00024
00025
00026
00027
00028 #include <qobject.h>
00029
00030
00031
00032
00033
00034
00035
00036 #include <kmymoney/mymoneystatement.h>
00037 #include <kmymoney/mymoneyaccount.h>
00038 #include <kmymoney/export.h>
00039
00040 namespace KMyMoneyPlugin {
00041
00046 class KMYMONEY_EXPORT StatementInterface : public QObject {
00047 Q_OBJECT
00048
00049 public:
00050 StatementInterface(QObject* parent, const char* name = 0);
00051 ~StatementInterface() {}
00052
00056 virtual bool import(const MyMoneyStatement& s) = 0;
00057
00063 virtual const MyMoneyAccount& account(const QString& key, const QString& value) const = 0;
00064
00067 virtual void setAccountOnlineParameters(const MyMoneyAccount& acc, const MyMoneyKeyValueContainer& kvps) const = 0;
00068
00069 };
00070
00071 };
00072 #endif