Implemented base functionality for commodity grid on shop form.
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef COMMODITYSERVICE_H
|
||||
#define COMMODITYSERVICE_H
|
||||
|
||||
#include <service.h>
|
||||
#include <isellableservice.h>
|
||||
#include "data/commodity-data.h"
|
||||
|
||||
class CommodityService : public Service<CommodityData>, public ISellableService
|
||||
{
|
||||
public:
|
||||
CommodityService();
|
||||
|
||||
// ISellableService interface
|
||||
public:
|
||||
QList<QSharedPointer<ShopItem> > shopItems() override;
|
||||
};
|
||||
|
||||
#endif // COMMODITYSERVICE_H
|
||||
Reference in New Issue
Block a user