You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
575 B
C++
32 lines
575 B
C++
#ifndef SHOP_H
|
|
#define SHOP_H
|
|
|
|
#include <QObject>
|
|
#include <core.h>
|
|
#include "shop_global.h"
|
|
|
|
class SHOPSHARED_EXPORT Shop : public QObject, IMetaDataPlugin
|
|
{
|
|
Q_OBJECT
|
|
|
|
Q_PLUGIN_METADATA(IID PluginInterface_iid FILE "shop.json")
|
|
Q_INTERFACES(IPlugin)
|
|
|
|
public:
|
|
Shop();
|
|
|
|
protected:
|
|
void initServiceUi() Q_DECL_OVERRIDE;
|
|
|
|
|
|
// IPlugin interface
|
|
public:
|
|
QIcon pluginIcon() override;
|
|
QWidget *ui() override;
|
|
QTranslator *translator() override;
|
|
bool hasNumberSeries() override;
|
|
QString numberSeriesPrefix() override;
|
|
};
|
|
|
|
#endif // SHOP_H
|