controlpanel/controlpanel_plat/inc/cppluginlauncher.h
changeset 23 7e4c5a2ff1a2
parent 21 851e19007849
child 56 d9e9413f30c9
equal deleted inserted replaced
21:851e19007849 23:7e4c5a2ff1a2
    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 */