1#ifndef E_ADVERTISEMENT_H
2#define E_ADVERTISEMENT_H
4#include "core/xml/EXMLNode.h"
25 void Read( EXMLNode* node );
26 unsigned char*
Print(
unsigned long& dataLength,
unsigned short& height,
unsigned long busstopID,
unsigned long deviceSNR );
27 bool IsSuitable(
unsigned long busstopIDOrigin,
unsigned long busstopIDDestination,
unsigned char discountType,
unsigned char cardType );
47 static unsigned char*
GetDataForPrinter(
unsigned long& length,
unsigned long& width,
unsigned short& height, QImage& image );
EAdvertisementSizeEnum
Definition EAdvertisement.h:9
@ MediumAdvertisement
Definition EAdvertisement.h:11
@ SmallAdvertisement
Definition EAdvertisement.h:10
@ LargeAdvertisement
Definition EAdvertisement.h:12
EAdvertisementSizeEnum
Definition EAdvertisement.h:9
Definition EAdvertisementManager.h:17
Definition EAdvertisement.cpp:46
Definition EAdvertisement.h:19
EAdvertisement(EAdvertisementManager *owner)
void Read(EXMLNode *node)
float GetLastSpentAmount()
std::string GetStatFileName()
static unsigned char * GetDataForPrinter(unsigned long &length, unsigned long &width, unsigned short &height, QImage &image)
unsigned long GetDisplayCount()
unsigned char * Print(unsigned long &dataLength, unsigned short &height, unsigned long busstopID, unsigned long deviceSNR)
SeparatorType
Definition EAdvertisement.h:42
@ Separator_ZaTextZodpovedaInzerent
Definition EAdvertisement.h:44
@ Separator_DopravaSk
Definition EAdvertisement.h:43
void SetStatFileName(const std::string &fileName)
EAdvertisement(const EAdvertisement &advertisement)
unsigned long GetUserID()
bool IsSuitable(unsigned long busstopIDOrigin, unsigned long busstopIDDestination, unsigned char discountType, unsigned char cardType)
EAdvertisementSizeEnum GetAdvertisementSize() const
static unsigned char * GetSeparatorData(unsigned long &separatorDataLength, unsigned short &separatorHeight, SeparatorType separatorType)