2017-04-19 22:38:49 +02:00
|
|
|
#ifndef CAMP_H
|
|
|
|
|
#define CAMP_H
|
|
|
|
|
|
|
|
|
|
#include "camp_global.h"
|
|
|
|
|
#include <core.h>
|
|
|
|
|
#include <QObject>
|
|
|
|
|
#include <QtPlugin>
|
|
|
|
|
|
|
|
|
|
class CAMPSHARED_EXPORT Camp : public QObject, IMetaDataPlugin
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
Q_PLUGIN_METADATA(IID PluginInterface_iid FILE "camp.json")
|
|
|
|
|
Q_INTERFACES(IPlugin)
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
Camp();
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
void initServiceUi() Q_DECL_OVERRIDE;
|
|
|
|
|
|
|
|
|
|
// IPlugin interface
|
|
|
|
|
public:
|
|
|
|
|
virtual QIcon pluginIcon();
|
2017-05-19 21:31:17 +02:00
|
|
|
QTranslator *translator();
|
2017-05-29 21:40:22 +02:00
|
|
|
bool hasNumberSeries();
|
2017-04-19 22:38:49 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // CAMP_H
|