controlpanel/controlpanel_plat/inc/cppluginlauncher.h
changeset 21 851e19007849
parent 18 e3554c9069b6
child 23 7e4c5a2ff1a2
equal deleted inserted replaced
19:30540fccecae 21:851e19007849
    20 
    20 
    21 #ifndef CPPLUGINLAUNCHER_H
    21 #ifndef CPPLUGINLAUNCHER_H
    22 #define CPPLUGINLAUNCHER_H
    22 #define CPPLUGINLAUNCHER_H
    23 
    23 
    24 #include "cpglobal.h"
    24 #include "cpglobal.h"
       
    25 #include <QVariant>
    25 
    26 
    26 class QString;
    27 class QString;
    27 class CpPluginPlatInterface;
    28 class CpPluginPlatInterface;
    28 
    29 
    29 class CP_EXPORT CpPluginLauncher
    30 class CP_EXPORT CpPluginLauncher
    30 {
    31 {
    31 public:
    32 public:
       
    33 	/*  OLD Inteface - Deprecated! */
    32     static bool launchCpPluginView(const QString &pluginFile,int index = 0);
    34     static bool launchCpPluginView(const QString &pluginFile,int index = 0);
       
    35     
       
    36     /* New interface */
       
    37 	static bool launchSettingView(const QString &pluginFile,const QVariant &hint = QVariant());
    33 };
    38 };
    34 
    39 
    35 #endif /* CPPLUGINLAUNCHER_H */
    40 #endif /* CPPLUGINLAUNCHER_H */