controlpanel/controlpanel_plat/inc/cppluginlauncher.h
changeset 32 20bd089f4aaa
parent 31 2c9d3aa5bea2
child 36 48848d132687
equal deleted inserted replaced
31:2c9d3aa5bea2 32:20bd089f4aaa
    27 class CpPluginPlatInterface;
    27 class CpPluginPlatInterface;
    28 
    28 
    29 class CP_EXPORT CpPluginLauncher
    29 class CP_EXPORT CpPluginLauncher
    30 {
    30 {
    31 public:
    31 public:
    32     /*
    32     static bool launchCpPluginView(const QString &pluginFile,int index = 0);
    33      launch a view from plugin by plugin file.
       
    34      the pluginFile can either absoulte file path or only file name.
       
    35      acceptable format:
       
    36      sampleplugin
       
    37      sampleplugin.qtplugin
       
    38      sampleplugin.dll
       
    39      C:/resource/qt/plugins/controlpanel/sampleplugin.qtplugin
       
    40      C:/resource/qt/plugins/controlpanel/sampleplugin.dll
       
    41      */
       
    42     static bool launchCpPluginView(const QString &pluginFile);
       
    43 };
    33 };
    44 
    34 
    45 #endif /* CPPLUGINLAUNCHER_H */
    35 #endif /* CPPLUGINLAUNCHER_H */