Website Summary Files Commits Branches @commit @diff @stats
path: root / src / VenueConsoleUI.cpp
diff options
context:
space:
mode:
Commit1a24b8b50e1c6956be96cd6f0337c963728ebc9b (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 21:24:11 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-05 21:24:11 +0300
Files6b8543af95ec49373e615c0dfe56c1f188dfe809 /src/VenueConsoleUI.cpp
FMI-OOP-P1_TicketSystem-1a24b8b50e1c6956be96cd6f0337c963728ebc9b.tar
FMI-OOP-P1_TicketSystem-1a24b8b50e1c6956be96cd6f0337c963728ebc9b.tar.gz
FMI-OOP-P1_TicketSystem-1a24b8b50e1c6956be96cd6f0337c963728ebc9b.zip
Parentdcbfbdeed333e0b19f93dd6deb84b276360d1b2f (diff)
Autocommit at 05.05.2022 @ 21:24
1 files changed, 22 insertions, 3 deletions
-rw-r--r--src/VenueConsoleUI.cpp25
diff --git a/src/VenueConsoleUI.cpp b/src/VenueConsoleUI.cpp
index 0827430..719b6d5 100644
--- a/src/VenueConsoleUI.cpp
+++ b/src/VenueConsoleUI.cpp
@@ -108,6 +108,17 @@ void command_createEvent() {
handleStatusCode(v->get_es().createEvent(&v->get_halls()[hallIndex], name, date), eventManagementMenu);
}
+void command_cancelEvent() {
+
+}
+
+void command_mostWatched() {
+
+}
+
+void command_belowWatchers() {
+
+}
void submenu_eventManagement() {
eventManagementMenu.navigate();
@@ -115,10 +126,18 @@ void submenu_eventManagement() {
/* Report Management */
-void submenu_reportManagement() {
+void command_reservationsList() {
+
+}
+
+void command_boughtTickets() {
}
+void submenu_reportManagement() {
+ reportsMenu.navigate();
+}
+
/* Main */
@@ -137,8 +156,8 @@ void init() {
eventManagementMenu.addCommand(Command("Query - Most Watched", command_mostWatched));
eventManagementMenu.addCommand(Command("Query - Below 10% watchers", command_belowWatchers));
- reportsMenu.addCommand(Command("Reservations List"), command_reservationsList);
- reportsMenu.addCommand(Command("Bought Tickets"), command_boughtTickets);
+ reportsMenu.addCommand(Command("Reservations List", command_reservationsList));
+ reportsMenu.addCommand(Command("Bought Tickets", command_boughtTickets));
}
void runUI(Venue& venue) {