Changeset View
Changeset View
Standalone View
Standalone View
kmymoney/mymoney/storage/mymoneystoragemgr.h
Show All 17 Lines | |||||
18 | * the Free Software Foundation; either version 2 of the License, or * | 18 | * the Free Software Foundation; either version 2 of the License, or * | ||
19 | * (at your option) any later version. * | 19 | * (at your option) any later version. * | ||
20 | * * | 20 | * * | ||
21 | ***************************************************************************/ | 21 | ***************************************************************************/ | ||
22 | 22 | | |||
23 | #ifndef MYMONEYSTORAGEMGR_H | 23 | #ifndef MYMONEYSTORAGEMGR_H | ||
24 | #define MYMONEYSTORAGEMGR_H | 24 | #define MYMONEYSTORAGEMGR_H | ||
25 | 25 | | |||
26 | #include "kmm_mymoney_export.h" | ||||
27 | | ||||
26 | // ---------------------------------------------------------------------------- | 28 | // ---------------------------------------------------------------------------- | ||
27 | // QT Includes | 29 | // QT Includes | ||
28 | 30 | | |||
29 | // ---------------------------------------------------------------------------- | 31 | // ---------------------------------------------------------------------------- | ||
30 | // Project Includes | 32 | // Project Includes | ||
31 | 33 | | |||
32 | #include "mymoneykeyvaluecontainer.h" | 34 | #include "mymoneykeyvaluecontainer.h" | ||
33 | 35 | | |||
▲ Show 20 Lines • Show All 48 Lines • ▼ Show 20 Line(s) | 77 | /** | |||
82 | * account() method and etc.. All data is loaded into memory, modified | 84 | * account() method and etc.. All data is loaded into memory, modified | ||
83 | * and kept there. It is the subject of an outside object to store the | 85 | * and kept there. It is the subject of an outside object to store the | ||
84 | * modified data in a persistant storage area using the accountList() method and etc. | 86 | * modified data in a persistant storage area using the accountList() method and etc. | ||
85 | * As indication, if data has been changed, the retrun value | 87 | * As indication, if data has been changed, the retrun value | ||
86 | * of the method dirty() can be used. | 88 | * of the method dirty() can be used. | ||
87 | */ | 89 | */ | ||
88 | 90 | | |||
89 | class MyMoneyStorageMgrPrivate; | 91 | class MyMoneyStorageMgrPrivate; | ||
90 | class MyMoneyStorageMgr : public MyMoneyKeyValueContainer | 92 | class KMM_MYMONEY_EXPORT MyMoneyStorageMgr : public MyMoneyKeyValueContainer | ||
91 | { | 93 | { | ||
92 | Q_DISABLE_COPY(MyMoneyStorageMgr) | 94 | Q_DISABLE_COPY(MyMoneyStorageMgr) | ||
93 | KMM_MYMONEY_UNIT_TESTABLE | 95 | KMM_MYMONEY_UNIT_TESTABLE | ||
94 | friend class MyMoneyStorageDump; | 96 | friend class MyMoneyStorageDump; | ||
95 | 97 | | |||
96 | public: | 98 | public: | ||
97 | MyMoneyStorageMgr(); | 99 | MyMoneyStorageMgr(); | ||
98 | ~MyMoneyStorageMgr(); | 100 | ~MyMoneyStorageMgr(); | ||
▲ Show 20 Lines • Show All 958 Lines • Show Last 20 Lines |