controlpanel/controlpanel_plat/inc/cppluginlauncher.h
changeset 37 940f6b67827d
parent 36 48848d132687
child 52 58cebe0861a8
equal deleted inserted replaced
36:48848d132687 37:940f6b67827d
    23 
    23 
    24 #include "cpglobal.h"
    24 #include "cpglobal.h"
    25 #include <QVariant>
    25 #include <QVariant>
    26 
    26 
    27 class QString;
    27 class QString;
    28 class CpPluginPlatInterface;
    28 class CpBaseSettingView;
    29 
    29 
    30 class CP_EXPORT CpPluginLauncher
    30 class CP_EXPORT CpPluginLauncher
    31 {
    31 {
    32 public:
    32 public:
    33 	/*  OLD Inteface - Deprecated! */
    33 	/*  OLD Interface - Deprecated! */
    34     static bool launchCpPluginView(const QString &pluginFile,int index = 0);
    34     static bool launchCpPluginView(const QString &pluginFile,int index = 0);
    35     
    35     
    36     /* New interface */
    36     /*  */
    37 	static bool launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
    37 	static CpBaseSettingView* launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
    38 };
    38 };
    39 
    39 
    40 #endif /* CPPLUGINLAUNCHER_H */
    40 #endif /* CPPLUGINLAUNCHER_H */