Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / EventSystem.h
diff options
context:
space:
mode:
Commitf3f2cee48f3dd9961f003f817826375bdc6e8be5 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 16:18:03 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 16:18:03 +0300
Files0b92e450fb09fb8da36b7595172e7dfcc06b34ff /src/EventSystem/EventSystem.h
FMI-OOP-P1_TicketSystem-f3f2cee48f3dd9961f003f817826375bdc6e8be5.tar
FMI-OOP-P1_TicketSystem-f3f2cee48f3dd9961f003f817826375bdc6e8be5.tar.gz
FMI-OOP-P1_TicketSystem-f3f2cee48f3dd9961f003f817826375bdc6e8be5.zip
Parent90a15b32fb0506259414ec1c3fcd78b179bbf06f (diff)
Autocommit at 05.05.2022 @ 16:18
1 files changed, 3 insertions, 3 deletions
-rw-r--r--src/EventSystem/EventSystem.h6
diff --git a/src/EventSystem/EventSystem.h b/src/EventSystem/EventSystem.h
index eadcc42..9139746 100644
--- a/src/EventSystem/EventSystem.h
+++ b/src/EventSystem/EventSystem.h
@@ -17,7 +17,7 @@ public:
EventSystem();
EventSystem(const Event* events, unsigned eventCount);
- StatusCode createEvent(const Hall* hall, String name, DateTime time);
+ StatusCode createEvent(const Hall* hall, String name, Date time);
StatusCode cancelEvent();
StatusCode reserveTicket(unsigned eventIndex, char* note, unsigned seatRow, unsigned seatColumn);
@@ -25,9 +25,9 @@ public:
StatusCode buyTicket();
void queryUpcoming(unsigned hallIndex);
- unsigned queryFreeSeats(const char* name, const DateTime& dt);
+ unsigned queryFreeSeats(const char* name, const Date& dt);
void queryReservations(unsigned eventIndex);
- void queryBoughtTickets(DateTime start, DateTime end, unsigned hall);
+ void queryBoughtTickets(Date start, Date end, unsigned hall);
void queryMostVisited();
void queryInsufficientlyVisited();
void reportReservations(unsigned eventIndex);