Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / EventSystem.h
diff options
context:
space:
mode:
Commita110c6d4e53fc42a07318661eaa827387fa464a0 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 17:03:18 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 17:03:18 +0300
Filesdd383ae3241566913533716480e6055898f37588 /src/EventSystem/EventSystem.h
FMI-OOP-P1_TicketSystem-a110c6d4e53fc42a07318661eaa827387fa464a0.tar
FMI-OOP-P1_TicketSystem-a110c6d4e53fc42a07318661eaa827387fa464a0.tar.gz
FMI-OOP-P1_TicketSystem-a110c6d4e53fc42a07318661eaa827387fa464a0.zip
Parent57ad84517cd258d7df6ef8b63fbac6c9cb6fcba9 (diff)
Autocommit at 05.05.2022 @ 17:03
1 files changed, 2 insertions, 1 deletions
-rw-r--r--src/EventSystem/EventSystem.h3
diff --git a/src/EventSystem/EventSystem.h b/src/EventSystem/EventSystem.h
index 7ee05fe..2533a61 100644
--- a/src/EventSystem/EventSystem.h
+++ b/src/EventSystem/EventSystem.h
@@ -12,6 +12,7 @@ class EventSystem {
unsigned indSoonestUpcoming;
void updateSoonestUpcoming();
+ unsigned indexOfEvent(const Date& dt);
unsigned indexOfEvent(const char* name, const Date& dt);
public:
@@ -19,7 +20,7 @@ public:
EventSystem(const Event* events, unsigned eventCount);
StatusCode createEvent(const Hall* hall, String name, Date date);
- StatusCode cancelEvent();
+ StatusCode cancelEvent(const char* name, Date date);
StatusCode reserveTicket(unsigned eventIndex, char* note, unsigned seatRow, unsigned seatColumn);
StatusCode cancelTicketReservation();