From 4788989f31999b899185e8ebf1bf9875ff32941e Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 8 May 2022 21:27:56 +0300 Subject: Fully documented UserInterface --- src/UserInterface/VenueConsoleUI.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/UserInterface/VenueConsoleUI.cpp') 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; -- cgit v1.3.1-23-gd82d