##// END OF EJS Templates
Some minor improvements on plugin loading:...
Some minor improvements on plugin loading: SciQLOP now looks recursively into a list of path and only tries to load dynamic library files. Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r579:3dbb981097b0
r609:7c40e9303976
Show More
MockPlugin.h
29 lines | 625 B | text/x-c | CLexer
Alexandre Leroux
Create mock plugin
r96 #ifndef SCIQLOP_MOCKPLUGIN_H
#define SCIQLOP_MOCKPLUGIN_H
Alexandre Leroux
Adds Q_DECL_EXPORT for Mock plugin
r324 #include "MockPluginGlobal.h"
Alexandre Leroux
Create mock plugin
r96 #include <Plugin/IPlugin.h>
#include <QLoggingCategory>
#include <memory>
Added Meson support....
r579 #ifndef PLUGIN_JSON_FILE_PATH
#define PLUGIN_JSON_FILE_PATH "mockplugin.json"
#endif
Alexandre Leroux
Create mock plugin
r96 Q_DECLARE_LOGGING_CATEGORY(LOG_MockPlugin)
class DataSourceItem;
Alexandre Leroux
Adds Q_DECL_EXPORT for Mock plugin
r324 class SCIQLOP_MOCKPLUGIN_EXPORT MockPlugin : public QObject, public IPlugin {
Alexandre Leroux
Create mock plugin
r96 Q_OBJECT
Q_INTERFACES(IPlugin)
Added Meson support....
r579 Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE PLUGIN_JSON_FILE_PATH)
Alexandre Leroux
Create mock plugin
r96 public:
/// @sa IPlugin::initialize()
void initialize() override;
};
#endif // SCIQLOP_MOCKPLUGIN_H