##// 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:

r631:8f78264330ae
r1076:9c3bb5e93c54
Show More
AmdaPlugin.h
29 lines | 607 B | text/x-c | CLexer
#ifndef SCIQLOP_AMDAPLUGIN_H
#define SCIQLOP_AMDAPLUGIN_H
#include "AmdaGlobal.h"
#include <Plugin/IPlugin.h>
#include <QLoggingCategory>
#include <memory>
Q_DECLARE_LOGGING_CATEGORY(LOG_AmdaPlugin)
#ifndef PLUGIN_JSON_FILE_PATH
#define PLUGIN_JSON_FILE_PATH "amda.json"
#endif
class DataSourceItem;
class SCIQLOP_AMDA_EXPORT AmdaPlugin : public QObject, public IPlugin {
Q_OBJECT
Q_INTERFACES(IPlugin)
Q_PLUGIN_METADATA(IID "sciqlop.plugin.IPlugin" FILE PLUGIN_JSON_FILE_PATH)
public:
/// @sa IPlugin::initialize()
void initialize() override;
};
#endif // SCIQLOP_AMDAPLUGIN_H