diff -r 159cfcd3c1c5 -r 48848d132687 controlpanel/controlpanel_plat/inc/cppluginlauncher.h --- a/controlpanel/controlpanel_plat/inc/cppluginlauncher.h Thu Apr 01 03:31:13 2010 +0800 +++ b/controlpanel/controlpanel_plat/inc/cppluginlauncher.h Fri Apr 16 11:40:46 2010 +0800 @@ -22,6 +22,7 @@ #define CPPLUGINLAUNCHER_H #include "cpglobal.h" +#include class QString; class CpPluginPlatInterface; @@ -29,7 +30,11 @@ class CP_EXPORT CpPluginLauncher { public: + /* OLD Inteface - Deprecated! */ static bool launchCpPluginView(const QString &pluginFile,int index = 0); + + /* New interface */ + static bool launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant()); }; #endif /* CPPLUGINLAUNCHER_H */