Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/plugins/statementinterface.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | |||||
46 | 46 | | |||
47 | public: | 47 | public: | ||
48 | explicit StatementInterface(QObject* parent, const char* name = 0); | 48 | explicit StatementInterface(QObject* parent, const char* name = 0); | ||
49 | ~StatementInterface() {} | 49 | ~StatementInterface() {} | ||
50 | 50 | | |||
51 | /** | 51 | /** | ||
52 | * This method imports a MyMoneyStatement into the engine | 52 | * This method imports a MyMoneyStatement into the engine | ||
53 | */ | 53 | */ | ||
54 | virtual bool import(const MyMoneyStatement& s) = 0; | 54 | virtual bool import(const MyMoneyStatement& s, bool silent = false) = 0; | ||
55 | 55 | | |||
56 | /** | 56 | /** | ||
57 | * This method returns the account for a given @a key - @a value pair. | 57 | * This method returns the account for a given @a key - @a value pair. | ||
58 | * If the account is not found in the list of accounts, MyMoneyAccount() | 58 | * If the account is not found in the list of accounts, MyMoneyAccount() | ||
59 | * is returned. | 59 | * is returned. | ||
60 | */ | 60 | */ | ||
61 | virtual const MyMoneyAccount& account(const QString& key, const QString& value) const = 0; | 61 | virtual const MyMoneyAccount& account(const QString& key, const QString& value) const = 0; | ||
62 | 62 | | |||
63 | /** | 63 | /** | ||
64 | */ | 64 | */ | ||
65 | virtual void setAccountOnlineParameters(const MyMoneyAccount& acc, const MyMoneyKeyValueContainer& kvps) const = 0; | 65 | virtual void setAccountOnlineParameters(const MyMoneyAccount& acc, const MyMoneyKeyValueContainer& kvps) const = 0; | ||
66 | 66 | | |||
67 | }; | 67 | }; | ||
68 | 68 | | |||
69 | } // namespace | 69 | } // namespace | ||
70 | #endif | 70 | #endif |