1#ifndef E_ADVERTISEMENT_MANAGER_H
2#define E_ADVERTISEMENT_MANAGER_H
6#include "core/common/ApplicationPath.h"
8#define ADVERTISEMENTS_FILE "advertisements/TCAExport.xml"
9#define ADVERTISEMENT_WORKING_FOLDER PATH_VARIABLE_LOG_DIR
10#define DAY_SPENDS_PATH PATH_VARIABLE_LOG_DIR"DaySpends_"
25 unsigned short& advertisementHeight,
26 unsigned long busstopIDOrigin,
27 unsigned long busstopIDDestination,
28 unsigned long deviceSNR,
29 unsigned char discountType,
30 unsigned char cardType );
Definition EAdvertisementCommMng.h:17
Definition EAdvertisementManager.cpp:35
Definition EAdvertisementManager.h:17
std::list< unsigned long > GetUsers()
void ClearAdvertisementSpends(const std::string &fileName)
EAdvertisementCommMng * GetAdvertisementCommMng()
unsigned long GetAmount(unsigned long userID)
EAdvertisementManager(const EAdvertisementManager &advertisementManager)
unsigned long GetUnitPrice()
void ClearAllAdvertisementSpends()
unsigned char * PrintAdvertisements(unsigned long &advertisementDataSize, unsigned short &advertisementHeight, unsigned long busstopIDOrigin, unsigned long busstopIDDestination, unsigned long deviceSNR, unsigned char discountType, unsigned char cardType)
void SetIsReaded(bool isReaded)
void ReadAdvertisements(std::string pathFile)
void SetAreAmountsReaded(bool readed)
float GetBusstopRating(long busstopID)