contentpublishingsrv/contentpublishingserver/cpsqlitestorage/inc/cpstorageengine.h
equal
deleted
inserted
replaced
27 #ifdef CONTENT_PUBLISHER_DEBUG |
27 #ifdef CONTENT_PUBLISHER_DEBUG |
28 class CCPDebug; |
28 class CCPDebug; |
29 #endif |
29 #endif |
30 class MCPChangeNotifier; |
30 class MCPChangeNotifier; |
31 class CRepository; |
31 class CRepository; |
32 |
32 class TLiwVariant; |
33 // CLASS DECLARATION |
33 // CLASS DECLARATION |
34 /** |
34 /** |
35 * SQLite based databse for Content Publisher |
35 * SQLite based databse for Content Publisher |
36 * |
36 * |
37 * @lib cpstorage.dll |
37 * @lib cpstorage.dll |
42 public: |
42 public: |
43 |
43 |
44 /** |
44 /** |
45 * Two-phased constructor. |
45 * Two-phased constructor. |
46 */ |
46 */ |
47 static CCpStorageEngine* NewL(); |
47 static CCpStorageEngine* NewL(TLiwVariant& aDataMapCache); |
48 |
48 |
49 /** |
49 /** |
50 * Two-phased constructor. |
50 * Two-phased constructor. |
51 */ |
51 */ |
52 static CCpStorageEngine* NewLC(); |
52 static CCpStorageEngine* NewLC(TLiwVariant& aDataMapCache); |
53 |
53 |
54 /** |
54 /** |
55 * Destructor. |
55 * Destructor. |
56 */ |
56 */ |
57 ~CCpStorageEngine(); |
57 ~CCpStorageEngine(); |
93 void ConstructL(); |
93 void ConstructL(); |
94 |
94 |
95 /** |
95 /** |
96 * C++ default constructor. |
96 * C++ default constructor. |
97 */ |
97 */ |
98 CCpStorageEngine(); |
98 CCpStorageEngine(TLiwVariant& aDataMapCache); |
99 |
99 |
100 /** |
100 /** |
101 * Creates database tables. |
101 * Creates database tables. |
102 */ |
102 */ |
103 void CreateTablesL(); |
103 void CreateTablesL(); |
134 /** |
134 /** |
135 * Repository keeps information about Db state. |
135 * Repository keeps information about Db state. |
136 * Own. |
136 * Own. |
137 */ |
137 */ |
138 CRepository* iRepository; |
138 CRepository* iRepository; |
139 |
139 |
|
140 /** |
|
141 * Not own. |
|
142 */ |
|
143 TLiwVariant& iDataMapCache; |
140 #ifdef CONTENT_PUBLISHER_DEBUG |
144 #ifdef CONTENT_PUBLISHER_DEBUG |
141 CCPDebug* iDebug; |
145 CCPDebug* iDebug; |
142 #endif |
146 #endif |
143 }; |
147 }; |
144 |
148 |