controlpanel/controlpanel_plat/inc/cppluginlauncher.h
changeset 52 58cebe0861a8
parent 37 940f6b67827d
equal deleted inserted replaced
40:6465d5bb863a 52:58cebe0861a8
     9 * Initial Contributors:
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    10 * Nokia Corporation - initial contribution.
    11 *
    11 *
    12 * Contributors:
    12 * Contributors:
    13 *
    13 *
    14 * Description:  This class is for loading and display a plugin's view.
    14 * Description: Launch controlpanel plugin setting view in client process.
    15 *								This class may dropped, suggest not using it. If you 
       
    16 *								want to use it, pls inform us, or check the wiki 
       
    17 *								http://s60wiki.nokia.com/S60Wiki/Team_S60_China_SW/Qt_Control_Panel/FAQ
       
    18 *
    15 *
    19 */
    16 */
    20 
    17 
    21 #ifndef CPPLUGINLAUNCHER_H
    18 #ifndef CPPLUGINLAUNCHER_H
    22 #define CPPLUGINLAUNCHER_H
    19 #define CPPLUGINLAUNCHER_H
    27 class QString;
    24 class QString;
    28 class CpBaseSettingView;
    25 class CpBaseSettingView;
    29 
    26 
    30 class CP_EXPORT CpPluginLauncher
    27 class CP_EXPORT CpPluginLauncher
    31 {
    28 {
    32 public:
    29 public:    
    33 	/*  OLD Interface - Deprecated! */
       
    34     static bool launchCpPluginView(const QString &pluginFile,int index = 0);
       
    35     
       
    36     /*  */
       
    37 	static CpBaseSettingView* launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
    30 	static CpBaseSettingView* launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
    38 };
    31 };
    39 
    32 
    40 #endif /* CPPLUGINLAUNCHER_H */
    33 #endif /* CPPLUGINLAUNCHER_H */