Auto status change to "Under Review"
@@ -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 5
Pull request updated. Auto status change to "Under Review"
Changed commits: * 1 added * 0 removed Changed files: * M core/CMakeLists.txt
Status change > Approved
You need to be logged in to leave comments.
Login now