Website Summary Files Commits Branches @commit @diff @stats
path: root / src / UserInterface / VenueConsoleUI.cpp
diff options
context:
space:
mode:
Commit4788989f31999b899185e8ebf1bf9875ff32941e (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-08 21:27:56 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-08 21:27:56 +0300
Files8aee48b413a94f22c030fc99f08682a5631b7afa /src/UserInterface/VenueConsoleUI.cpp
FMI-OOP-P1_TicketSystem-4788989f31999b899185e8ebf1bf9875ff32941e.tar
FMI-OOP-P1_TicketSystem-4788989f31999b899185e8ebf1bf9875ff32941e.tar.gz
FMI-OOP-P1_TicketSystem-4788989f31999b899185e8ebf1bf9875ff32941e.zip
Parentb3d493796c97178f597ecf97e7c1ae46e566fe9c (diff)
Fully documented UserInterface
1 files changed, 6 insertions, 0 deletions
-rw-r--r--src/UserInterface/VenueConsoleUI.cpp6
diff --git a/src/UserInterface/VenueConsoleUI.cpp b/src/UserInterface/VenueConsoleUI.cpp
index a7fc699..6a40f77 100644
--- a/src/UserInterface/VenueConsoleUI.cpp
+++ b/src/UserInterface/VenueConsoleUI.cpp
@@ -277,6 +277,12 @@ void init() {
reportsMenu.addCommand(Command("Bought Tickets", command_boughtTickets));
}
+/*!
+ * Stores EventService and HallService pointers in internal global variables,
+ * calls EventService and HallService load() functions,
+ * initializes all menus, navigates the main menu and
+ * finally calls EventService and HallService save() functions
+ */
void runUI(EventService* eventService, HallService* hallService) {
es = eventService;
hs = hallService;