Added seller interface for preparing shop items from other plugins.

This commit is contained in:
2017-05-31 16:11:15 +02:00
parent 1e785fd488
commit 397ec82d06
7 changed files with 68 additions and 8 deletions
+22
View File
@@ -0,0 +1,22 @@
#ifndef ISELLER_H
#define ISELLER_H
#include <QObject>
#include "ishopitem.h"
#include "shop_global.h"
class SHOPSHARED_EXPORT ISeller : public QObject
{
Q_OBJECT
public:
explicit ISeller(QObject *parent = 0);
virtual ~ISeller();
virtual void prepareItem() = 0;
signals:
void itemPrepared(QSharedPointer<IShopItem> item, int count);
};
#endif // ISELLER_H