diff options
Autocommit at 05.05.2022 @ 14:23
2 files changed, 26 insertions, 3 deletions
| -rw-r--r-- | src/VenueConsoleUI.cpp | 21 | ||||
| -rw-r--r-- | src/main.cpp | 8 |
diff --git a/src/VenueConsoleUI.cpp b/src/VenueConsoleUI.cpp index f37e7b0..910db7f 100644 --- a/src/VenueConsoleUI.cpp +++ b/src/VenueConsoleUI.cpp @@ -32,25 +32,42 @@ void command_newEvent() { handleStatusCode(v->get_es().createEvent(&v.get_halls()[hallIndex], name, dt)); } +/* Ticket Management */ void command_freeSeats() { } -/* Submenu */ +void command_reserveTicket() { -void submenu_ticketManagement() { +} + +void command_cancelReservation() { } +void command_buyTicket() { + +} + +void submenu_ticketManagement() { + +} + +/* Event Management */ + void submenu_eventManagement() { } +/* Report Management */ + void submenu_reportManagement() { } +/* Main */ + Menu mainMenu, ticketManagementMenu, eventManagementMenu, reportsMenu; void init() { diff --git a/src/main.cpp b/src/main.cpp index af14ed5..e7d3590 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,3 +1,9 @@ -int main() { +#include "VenueConsoleUI.h" +#include "Venue/Venue.h" +#include "Venue/Hall.h" +int main() { + Hall myVenueHalls[] = { Hall(1, 20, 30), Hall(2, 15, 15), Hall(3, 10, 20) }; + + Venue myVenue(myVenueHalls, 3, EventSystem()); } |
