AppCore
Loading...
Searching...
No Matches
EventFillerExtraOperationLogic.h
Go to the documentation of this file.
1#ifndef EVENTFILLEREXTRAOPERATIONLOGIC_H
2#define EVENTFILLEREXTRAOPERATIONLOGIC_H
3
4#include <vector>
5#include <qstring.h>
6
7class CardEvent;
9{
10public:
12 {
13 NoAction = 0,
14 BlockCard = 1,
15 TimeTicket = 2,
16 Purse = 3,
19 Correction = 6,
20 ActionCount = 7
21 };
22
23 static QString GetEventFileName();
24 static void DevideEventFile( const QString &eventFilePath );
25 static void GetActionsByCardUID( std::vector<bool> &actions, long long uid, const QString &eventFilePath );
26 static unsigned short PrepareDataOperationsToRead( const std::vector<bool> &actions );
27 static QString GetMessageByProcessedEvent( ActionType action, CardEvent *processedEvent );
28};
29
30#endif // EVENTFILLEREXTRAOPERATIONLOGIC_H
__EPUBLIC __ECLASS LIBCARDEVENT_API CardEvent
The ancestor of all events. Contains common information for all events.
Definition cardevent.h:17
Definition EventFillerExtraOperationLogic.h:9
ActionType
Definition EventFillerExtraOperationLogic.h:12
@ TimeTicket
Definition EventFillerExtraOperationLogic.h:15
@ CustomerDataUpdate
Definition EventFillerExtraOperationLogic.h:18
@ BlockCard
Definition EventFillerExtraOperationLogic.h:14
@ Purse
Definition EventFillerExtraOperationLogic.h:16
@ ActionCount
Definition EventFillerExtraOperationLogic.h:20
@ SavePersonalData
Definition EventFillerExtraOperationLogic.h:17
@ NoAction
Definition EventFillerExtraOperationLogic.h:13
@ Correction
Definition EventFillerExtraOperationLogic.h:19
static void DevideEventFile(const QString &eventFilePath)
static void GetActionsByCardUID(std::vector< bool > &actions, long long uid, const QString &eventFilePath)
static QString GetMessageByProcessedEvent(ActionType action, CardEvent *processedEvent)
static QString GetEventFileName()
static unsigned short PrepareDataOperationsToRead(const std::vector< bool > &actions)