Files
prodejna/shop/ishopitem.h
T
pepa 4b3a2e1dd7 Fixed crash on add item via favorite button after application start.
Favorite buttons has short name labels.
closes #296
refs #293
2017-04-04 21:57:36 +02:00

22 lines
414 B
C++

#ifndef ISHOPITEM_H
#define ISHOPITEM_H
#include "shop_global.h"
#include <QDecDouble.hh>
#include <QString>
#include <enums.h>
class SHOPSHARED_EXPORT IShopItem
{
public:
virtual int id() = 0;
virtual QString name() = 0;
virtual QString shortName() = 0;
virtual QDecDouble unitPrice() = 0;
virtual Enums::VatType vatType() = 0;
virtual QString pluginId() = 0;
};
#endif // ISHOPITEM_H