Implemented base functionality of DirectSaleForm.
This commit is contained in:
+11
-2
@@ -1,11 +1,20 @@
|
||||
#ifndef SHOPSERVICE_H
|
||||
#define SHOPSERVICE_H
|
||||
|
||||
#include <QSharedPointer>
|
||||
|
||||
class ShopService
|
||||
#include <core.h>
|
||||
|
||||
#include "data/shop-data.h"
|
||||
#include "ishopitem.h"
|
||||
|
||||
class ShopService : public Service<Voucher>
|
||||
{
|
||||
public:
|
||||
ShopService();
|
||||
QSharedPointer<Voucher> createVoucher();
|
||||
void addShopItem(QSharedPointer<Voucher> voucher, QSharedPointer<IShopItem> item, int count);
|
||||
void calculate(QSharedPointer<Voucher> voucher);
|
||||
};
|
||||
|
||||
#endif // SHOPSERVICE_H
|
||||
#endif // SHOPSERVICE_H
|
||||
|
||||
Reference in New Issue
Block a user