controlpanel/controlpanel_plat/inc/cppluginloader.h
changeset 55 4c15d9aa2384
parent 47 dbe66a66f6a9
child 62 531951b2e59a
equal deleted inserted replaced
47:dbe66a66f6a9 55:4c15d9aa2384
     1 /*
       
     2 * Copyright (c) 2009 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 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef CPPLUGINLOADER_H
       
    19 #define CPPLUGINLOADER_H
       
    20 
       
    21 #include <cpglobal.h>
       
    22 #include <QList>
       
    23 
       
    24 class QString;
       
    25 class CpPluginInterface;
       
    26 class CpLauncherInterface;
       
    27 class CpPluginPlatInterface;
       
    28 
       
    29 class CP_EXPORT CpPluginLoader
       
    30 {
       
    31 public:    
       
    32     /* OLD INTERFACES* DPRECATED!!! \deprecated static CpPluginInterface     *loadCpPlugin(const QString &pluginFile)*/
       
    33     static CpPluginInterface     *loadCpPlugin(const QString &pluginFile)
       
    34     {
       
    35         return 0;
       
    36     }
       
    37     /* OLD INTERFACES* DPRECATED!!! \deprecated static CpPluginPlatInterface *loadPlatCpPlugin(const QString &pluginFile)*/
       
    38     static CpPluginPlatInterface *loadPlatCpPlugin(const QString &pluginFile)
       
    39     {
       
    40         return 0;
       
    41     }
       
    42     
       
    43     /*NEW INTERFACES*/
       
    44     static CpPluginInterface     *loadCpPluginInterface(const QString &pluginFile);
       
    45     static CpLauncherInterface   *loadCpLauncherInterface(const QString &pluginFile);
       
    46 };
       
    47 
       
    48 #endif /* CPPLUGINLOADER_H */