gazetk / GazeTkHub / GazeTkLib / include / pluginloader.h @ 6b3a8f8f
History | View | Annotate | Download (397 Bytes)
1 |
#ifndef PLUGINLOADER_H
|
---|---|
2 |
#define PLUGINLOADER_H
|
3 |
|
4 |
#include <QObject> |
5 |
#include <QStringList> |
6 |
|
7 |
namespace gazetk |
8 |
{ |
9 |
|
10 |
class PluginLoader |
11 |
{ |
12 |
public:
|
13 |
PluginLoader(); |
14 |
|
15 |
void loadPlugins();
|
16 |
|
17 |
static PluginLoader* instance();
|
18 |
|
19 |
private:
|
20 |
static PluginLoader* _instance;
|
21 |
|
22 |
void handlePlugin( QObject *plugin );
|
23 |
|
24 |
QStringList pluginFileNames; |
25 |
}; |
26 |
|
27 |
} // namespace gazetk
|
28 |
|
29 |
#endif // PLUGINLOADER_H |