contentpublishingsrv/contentpublishingserver/cpsqlitestorage/inc/cpstoragefactory.h
branchRCL_3
changeset 19 edd621764147
parent 0 79c6a41cd166
equal deleted inserted replaced
16:b276298d5729 19:edd621764147
    21 
    21 
    22 #include <e32base.h>
    22 #include <e32base.h>
    23 
    23 
    24 // FORWARD DECLARATIONS
    24 // FORWARD DECLARATIONS
    25 class CCpStorage;
    25 class CCpStorage;
       
    26 class TLiwVariant;
    26 
    27 
    27 // CLASS DECLARATION
    28 // CLASS DECLARATION
    28 /**
    29 /**
    29  *  Class with one static method used by CPS Server to 
    30  *  Class with one static method used by CPS Server to 
    30  *  instantiate storage database.  
    31  *  instantiate storage database.  
    32  *  @since S60 v5.0
    33  *  @since S60 v5.0
    33  */
    34  */
    34 class StorageFactory
    35 class StorageFactory
    35     {
    36     {
    36 public:
    37 public:
    37     IMPORT_C static CCpStorage* NewDatabaseL();
    38     IMPORT_C static CCpStorage* NewDatabaseL(TLiwVariant& aDataMapCache);
    38     };
    39     };
    39 
    40 
    40 #endif //C_CPSTORAGE_FACTORY_H
    41 #endif //C_CPSTORAGE_FACTORY_H