commonimlib/inc/immanagerfactory.h
changeset 0 59dfe4ae66d0
equal deleted inserted replaced
-1:000000000000 0:59dfe4ae66d0
       
     1 /*
       
     2 * Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html."
       
     8 * Initial Contributors:
       
     9 * Nokia Corporation - initial contribution.
       
    10 * Contributors:
       
    11 *
       
    12 * Description:
       
    13 * RCS IM Library - Initial version
       
    14 *
       
    15 */
       
    16 
       
    17 
       
    18 #ifndef __IMMANAGER_FACTORY__
       
    19 #define __IMMANAGER_FACTORY__
       
    20 
       
    21 #include <QString>
       
    22 #include <QtPlugin>
       
    23 
       
    24 namespace RcsIMLib
       
    25 {
       
    26 	class MChatContactManagerIntf;
       
    27 }
       
    28 
       
    29 class IMManagerFactory
       
    30 {
       
    31 	public:
       
    32 		virtual RcsIMLib::MChatContactManagerIntf* createIMManager()=0;
       
    33 		virtual QString protocol()=0;
       
    34 };
       
    35 
       
    36 Q_DECLARE_INTERFACE(IMManagerFactory, "com.nokia.qt.Plugin.IMManagerFactory/1.0");
       
    37 
       
    38 #endif