imsrv_plat/ximp_im_data_model_api/inc/imoperationfactoryimp.h
changeset 30 1fa9b890f29c
child 32 988c3ea2e6de
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/imsrv_plat/ximp_im_data_model_api/inc/imoperationfactoryimp.h	Fri Apr 09 20:37:41 2010 +0530
@@ -0,0 +1,69 @@
+/*
+* Copyright (c) 2007 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "Symbian Foundation License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description:  Im Service Connection operation factory
+ *
+*/
+
+
+#ifndef IMCOPERATIONFACTORYIMP_H
+#define IMCOPERATIONFACTORYIMP_H
+
+
+#include <e32base.h>
+class CXIMPOperationBase;
+
+#include "ximpoperationfactory.h"
+
+/**
+ * Operation factory
+ * Class is owned by and handled as singleton by CXIMPGlobals.
+ *
+ * @lib imoperation.dll
+ * @since S60 v4.0
+ */
+class CImOperationFactory : public CBase, 
+                                  public MXIMPOperationFactory
+    {
+    public: // Construction and desctruction
+
+        IMPORT_C static CImOperationFactory* NewL();
+
+        ~CImOperationFactory();
+
+    private: // Construction
+
+        /**
+         * C++ default constructor.
+         */
+        CImOperationFactory();
+
+        /**
+         * Symbian 2nd phase constructor
+         */
+        void ConstructL();
+
+
+    public: // From MXIMPOperationFactory
+
+		/**
+		 * @see MXIMPOperationFactory
+	 	 */
+		CXIMPOperationBase* CreateOperationL( TInt aOperation );
+
+    private:    // Data
+
+    };
+
+#endif      // IMCOPERATIONFACTORYIMP_H
+