Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / EventSystem.h
diff options
context:
space:
mode:
Commit125d17baddbb94971015b2ad603102c5d95bed15 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:51:24 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:51:24 +0300
Files56dcc90d6b8858ac9f88cd1ae321d96905757dcd /src/EventSystem/EventSystem.h
FMI-OOP-P1_TicketSystem-125d17baddbb94971015b2ad603102c5d95bed15.tar
FMI-OOP-P1_TicketSystem-125d17baddbb94971015b2ad603102c5d95bed15.tar.gz
FMI-OOP-P1_TicketSystem-125d17baddbb94971015b2ad603102c5d95bed15.zip
Parentf71df43abce2be251d194dade0ebf07485b54eea (diff)
Autocommit at 01.05.2022 @ 10:51
1 files changed, 11 insertions, 1 deletions
-rw-r--r--src/EventSystem/EventSystem.h12
diff --git a/src/EventSystem/EventSystem.h b/src/EventSystem/EventSystem.h
index b2be837..787384b 100644
--- a/src/EventSystem/EventSystem.h
+++ b/src/EventSystem/EventSystem.h
@@ -2,6 +2,7 @@
#define HEADER_EVENTSYSTEM
#include "../List/List.h"
+#include "../DateTime/DateTime.h"
#include "Event.h"
#include "StatusCodes.h"
@@ -13,7 +14,16 @@ class EventSystem {
public:
EventSystem(const Event* events, unsigned eventCount);
-
+ StatusCode createEvent();
+ StatusCode cancelEvent();
+
+ StatusCode reserveTicket(char* note, DateTime time, unsigned seatRow, unsigned seatColumn);
+ StatusCode cancelTicketReservation();
+ StatusCode buyTicket();
+
+ void queryUpcoming(unsigned hallIndex);
+ unsigned queryFreeSeats(const Event& event);
+ void queryReservations(const Event& event);
};
#endif