@@ -0,0 +1,20 | |||||
|
1 | #ifndef SCIQLOP_IPLUGIN_H | |||
|
2 | #define SCIQLOP_IPLUGIN_H | |||
|
3 | ||||
|
4 | #include <QString> | |||
|
5 | #include <QtPlugin> | |||
|
6 | ||||
|
7 | /** | |||
|
8 | * @brief Interface for a plugin | |||
|
9 | */ | |||
|
10 | class IPlugin { | |||
|
11 | public: | |||
|
12 | virtual ~IPlugin() = default; | |||
|
13 | ||||
|
14 | /// Initializes the plugin | |||
|
15 | virtual void initialize() = 0; | |||
|
16 | }; | |||
|
17 | ||||
|
18 | Q_DECLARE_INTERFACE(IPlugin, "sciqlop.plugin.IPlugin") | |||
|
19 | ||||
|
20 | #endif // SCIQLOP_IPLUGIN_H |
General Comments 0
You need to be logged in to leave comments.
Login now