Files
prodejna/shop/isellableservice.h
T

22 lines
476 B
C++
Raw Normal View History

2016-04-07 22:29:37 +02:00
#ifndef ISELLABLESERVICE_H
#define ISELLABLESERVICE_H
#include "shop_global.h"
#include "shopitem.h"
#include "iseller.h"
2016-04-07 22:29:37 +02:00
#include <QList>
#include <QSharedPointer>
class SHOPSHARED_EXPORT ISellableService
{
public:
ISellableService();
virtual QList<IShopItemPtr> shopItems() = 0;
virtual IShopItemPtr shopItem(int itemId) = 0;
2016-07-21 16:24:07 +02:00
virtual void addedToVoucher(int itemId, int countAdded) = 0;
virtual ISeller *seller() = 0;
2016-04-07 22:29:37 +02:00
};
#endif // ISELLABLESERVICE_H