controlpanel/controlpanel_plat/inc/cppluginloader.h
branchRCL_3
changeset 24 8ee96d21d9bf
equal deleted inserted replaced
23:8bda91a87a00 24:8ee96d21d9bf
       
     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:  Utility class to load a CpPluginInterface or CpLauncherInterface from a controlpanel plugin file.
       
    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     static CpPluginInterface     *loadCpPluginInterface(const QString &pluginFile);
       
    33     static CpLauncherInterface   *loadCpLauncherInterface(const QString &pluginFile);
       
    34 };
       
    35 
       
    36 #endif /* CPPLUGINLOADER_H */