AppCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
7 class CardEvent;
9 {
10 public:
12  {
13  NoAction = 0,
14  BlockCard = 1,
16  Purse = 3,
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
Definition: EventFillerExtraOperationLogic.h:18
Definition: EventFillerExtraOperationLogic.h:20
Definition: EventFillerExtraOperationLogic.h:19
Definition: EventFillerExtraOperationLogic.h:16
static QString GetMessageByProcessedEvent(ActionType action, CardEvent *processedEvent)
Definition: EventFillerExtraOperationLogic.cpp:216
Definition: EventFillerExtraOperationLogic.h:14
static QString GetEventFileName()
Definition: EventFillerExtraOperationLogic.cpp:39
__EPUBLIC __ECLASS LIBCARDEVENT_API CardEvent
The ancestor of all events. Contains common information for all events.
Definition: cardevent.h:17
Definition: EventFillerExtraOperationLogic.h:13
static void GetActionsByCardUID(std::vector< bool > &actions, long long uid, const QString &eventFilePath)
Definition: EventFillerExtraOperationLogic.cpp:116
Definition: EventFillerExtraOperationLogic.h:17
static unsigned short PrepareDataOperationsToRead(const std::vector< bool > &actions)
Definition: EventFillerExtraOperationLogic.cpp:178
ActionType
Definition: EventFillerExtraOperationLogic.h:11
static void DevideEventFile(const QString &eventFilePath)
Definition: EventFillerExtraOperationLogic.cpp:80
Definition: EventFillerExtraOperationLogic.h:8
Definition: EventFillerExtraOperationLogic.h:15