--- 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 <QVariant>
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 */