##// END OF EJS Templates
Sets the name of the plugin for products and components...
Sets the name of the plugin for products and components Since there is only one common root in the data source widget, it is no longer possible to retrieve on the fly the name of the plugin in which a component or product is located. This name is therefore attached to their creation.

File last commit:

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