contentpublishingsrv/contentpublishingserver/cpsqlitestorage/inc/cpstoragefactory.h
changeset 0 79c6a41cd166
child 19 edd621764147
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/contentpublishingsrv/contentpublishingserver/cpsqlitestorage/inc/cpstoragefactory.h	Thu Dec 17 08:54:17 2009 +0200
@@ -0,0 +1,40 @@
+/*
+* Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  
+ *
+*/
+
+
+#ifndef C_CPSTORAGE_FACTORY_H
+#define C_CPSTORAGE_FACTORY_H
+
+#include <e32base.h>
+
+// FORWARD DECLARATIONS
+class CCpStorage;
+
+// CLASS DECLARATION
+/**
+ *  Class with one static method used by CPS Server to 
+ *  instantiate storage database.  
+ *
+ *  @since S60 v5.0
+ */
+class StorageFactory
+    {
+public:
+    IMPORT_C static CCpStorage* NewDatabaseL();
+    };
+
+#endif //C_CPSTORAGE_FACTORY_H