Implemented base functionality for commodity grid on shop form.

This commit is contained in:
2016-07-13 15:15:18 +02:00
parent f9d7df9ab5
commit fb6b4fe027
15 changed files with 138 additions and 10 deletions
+18
View File
@@ -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