contentpublishingsrv/contentpublishingserver/cpsqlitestorage/inc/cpstorageengine.h
branchRCL_3
changeset 19 edd621764147
parent 0 79c6a41cd166
--- a/contentpublishingsrv/contentpublishingserver/cpsqlitestorage/inc/cpstorageengine.h	Tue Apr 27 16:57:49 2010 +0300
+++ b/contentpublishingsrv/contentpublishingserver/cpsqlitestorage/inc/cpstorageengine.h	Tue May 11 16:30:05 2010 +0300
@@ -29,7 +29,7 @@
 #endif
 class MCPChangeNotifier;
 class CRepository;
-
+class TLiwVariant;
 // CLASS DECLARATION
 /**
  *  SQLite based databse for Content Publisher 
@@ -44,12 +44,12 @@
     /**
      * Two-phased constructor.
      */
-    static CCpStorageEngine* NewL();
+    static CCpStorageEngine* NewL(TLiwVariant& aDataMapCache);
 
     /**
      * Two-phased constructor.
      */
-    static CCpStorageEngine* NewLC();
+    static CCpStorageEngine* NewLC(TLiwVariant& aDataMapCache);
 
     /**
      * Destructor.
@@ -95,7 +95,7 @@
     /**
      * C++ default constructor.
      */
-    CCpStorageEngine();
+    CCpStorageEngine(TLiwVariant& aDataMapCache);
 
     /**
      * Creates database tables.
@@ -136,7 +136,11 @@
      * Own.
      */
     CRepository* iRepository;
-
+    
+    /**
+     * Not own.
+     */
+    TLiwVariant& iDataMapCache;
 #ifdef CONTENT_PUBLISHER_DEBUG
     CCPDebug* iDebug;
 #endif