commonimlib/inc/immanagerfactory.h
changeset 0 59dfe4ae66d0
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/commonimlib/inc/immanagerfactory.h	Fri Oct 08 18:07:26 2010 +0530
@@ -0,0 +1,38 @@
+/*
+* Copyright (c) 2009-2010 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:
+* RCS IM Library - Initial version
+*
+*/
+
+
+#ifndef __IMMANAGER_FACTORY__
+#define __IMMANAGER_FACTORY__
+
+#include <QString>
+#include <QtPlugin>
+
+namespace RcsIMLib
+{
+	class MChatContactManagerIntf;
+}
+
+class IMManagerFactory
+{
+	public:
+		virtual RcsIMLib::MChatContactManagerIntf* createIMManager()=0;
+		virtual QString protocol()=0;
+};
+
+Q_DECLARE_INTERFACE(IMManagerFactory, "com.nokia.qt.Plugin.IMManagerFactory/1.0");
+
+#endif