rcsimengine/src/rcsimmanagerfactory.cpp
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 #include "rcsimmanagerfactory.h"
       
    19 #include "chatinterfaces.h"
       
    20 #include "chatcontactmanager.h"
       
    21 
       
    22 using namespace RcsIMLib;
       
    23 
       
    24 RcsIMLib::MChatContactManagerIntf* RcsIMManagerFactory::createIMManager()
       
    25 {
       
    26 	return new ChatContactManager();
       
    27 }
       
    28 
       
    29 QString RcsIMManagerFactory::protocol()
       
    30 {
       
    31 	return "rcsmsrp";
       
    32 }
       
    33 
       
    34 Q_EXPORT_PLUGIN2(symmsrpplugin, RcsIMManagerFactory)
       
    35 
       
    36 //static const char *qt_plugin_verification_data = \
       
    37 //      "pattern=""QT_PLUGIN_VERIFICATION_DATA""\n" \
       
    38 //      "version=""4.6.3""\n" \
       
    39 //      "debug=""false""\n" \
       
    40 //      "buildkey=""Symbian full-config"; \
       
    41 //            extern "C" __declspec(dllexport) \
       
    42 //            const char *  qt_plugin_query_verification_data() \
       
    43 //            { return qt_plugin_verification_data; } \
       
    44 //            extern "C" __declspec(dllexport) ::QObject *  qt_plugin_instance() \
       
    45 //            { \
       
    46 //            static QPointer<QObject> _instance; \
       
    47 //            if (!_instance)      \
       
    48 //                _instance = new RcsIMManagerFactory; \
       
    49 //            return _instance; \
       
    50 //        }
       
    51