##// END OF EJS Templates
Added static plugin support...
Added static plugin support In case of fully static exe even plugins must be static to allow single file executable. Small fix, when using resources in app from library they must be initialized with Q_INIT_RESOURCE. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r65:75b3ca8ef471
r1156:247dc18789c6
Show More
IPlugin.h
20 lines | 347 B | text/x-c | CLexer
Alexandre Leroux
Define main plugin interface
r65 #ifndef SCIQLOP_IPLUGIN_H
#define SCIQLOP_IPLUGIN_H
#include <QString>
#include <QtPlugin>
/**
* @brief Interface for a plugin
*/
class IPlugin {
public:
virtual ~IPlugin() = default;
/// Initializes the plugin
virtual void initialize() = 0;
};
Q_DECLARE_INTERFACE(IPlugin, "sciqlop.plugin.IPlugin")
#endif // SCIQLOP_IPLUGIN_H