diff -r 2c9d3aa5bea2 -r 20bd089f4aaa controlpanel/controlpanel_plat/inc/cppluginlauncher.h --- a/controlpanel/controlpanel_plat/inc/cppluginlauncher.h Thu Apr 01 03:17:51 2010 +0800 +++ b/controlpanel/controlpanel_plat/inc/cppluginlauncher.h Thu Apr 01 03:23:37 2010 +0800 @@ -29,17 +29,7 @@ class CP_EXPORT CpPluginLauncher { public: - /* - launch a view from plugin by plugin file. - the pluginFile can either absoulte file path or only file name. - acceptable format: - sampleplugin - sampleplugin.qtplugin - sampleplugin.dll - C:/resource/qt/plugins/controlpanel/sampleplugin.qtplugin - C:/resource/qt/plugins/controlpanel/sampleplugin.dll - */ - static bool launchCpPluginView(const QString &pluginFile); + static bool launchCpPluginView(const QString &pluginFile,int index = 0); }; #endif /* CPPLUGINLAUNCHER_H */