equal
deleted
inserted
replaced
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 */ |