equal
deleted
inserted
replaced
9 * Initial Contributors: |
9 * Initial Contributors: |
10 * Nokia Corporation - initial contribution. |
10 * Nokia Corporation - initial contribution. |
11 * |
11 * |
12 * Contributors: |
12 * Contributors: |
13 * |
13 * |
14 * Description: |
14 * Description: Utility class to load a CpPluginInterface or CpLauncherInterface from a controlpanel plugin file. |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #ifndef CPPLUGINLOADER_H |
18 #ifndef CPPLUGINLOADER_H |
19 #define CPPLUGINLOADER_H |
19 #define CPPLUGINLOADER_H |
26 class CpLauncherInterface; |
26 class CpLauncherInterface; |
27 class CpPluginPlatInterface; |
27 class CpPluginPlatInterface; |
28 |
28 |
29 class CP_EXPORT CpPluginLoader |
29 class CP_EXPORT CpPluginLoader |
30 { |
30 { |
31 public: |
31 public: |
32 /* OLD INTERFACES* DPRECATED!!! \deprecated static CpPluginInterface *loadCpPlugin(const QString &pluginFile)*/ |
|
33 static CpPluginInterface *loadCpPlugin(const QString &pluginFile) |
|
34 { |
|
35 return 0; |
|
36 } |
|
37 /* OLD INTERFACES* DPRECATED!!! \deprecated static CpPluginPlatInterface *loadPlatCpPlugin(const QString &pluginFile)*/ |
|
38 static CpPluginPlatInterface *loadPlatCpPlugin(const QString &pluginFile) |
|
39 { |
|
40 return 0; |
|
41 } |
|
42 |
|
43 /*NEW INTERFACES*/ |
|
44 static CpPluginInterface *loadCpPluginInterface(const QString &pluginFile); |
32 static CpPluginInterface *loadCpPluginInterface(const QString &pluginFile); |
45 static CpLauncherInterface *loadCpLauncherInterface(const QString &pluginFile); |
33 static CpLauncherInterface *loadCpLauncherInterface(const QString &pluginFile); |
46 }; |
34 }; |
47 |
35 |
48 #endif /* CPPLUGINLOADER_H */ |
36 #endif /* CPPLUGINLOADER_H */ |