Website Summary Files Commits Branches @commit @diff @stats
path: root / src / main.cpp
diff options
context:
space:
mode:
Commit93080461d4e0e9684217ebe11322430a6f73592e (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 09:17:04 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 09:17:04 +0300
Files8abdb102d41d22aa655f11473d7596d6eed99009 /src/main.cpp
FMI-OOP-P1_TicketSystem-93080461d4e0e9684217ebe11322430a6f73592e.tar
FMI-OOP-P1_TicketSystem-93080461d4e0e9684217ebe11322430a6f73592e.tar.gz
FMI-OOP-P1_TicketSystem-93080461d4e0e9684217ebe11322430a6f73592e.zip
Parent7f87c0ba3838ddda550117c4bc74f46b7b0d94dc (diff)
Autocommit at 07.05.2022 @ 09:17
1 files changed, 6 insertions, 1 deletions
-rw-r--r--src/main.cpp7
diff --git a/src/main.cpp b/src/main.cpp
index ca47c56..86ef290 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1,8 +1,13 @@
-#include "UserInterface/VenueConsoleUI.h"
+#include "Services/EventService.h"
+#include "Services/HallService.h"
#include "Models/Hall.h"
+#include "UserInterface/VenueConsoleUI.h"
int main() {
Hall myVenueHalls[] = { Hall(1, 20, 30), Hall(2, 15, 15), Hall(3, 10, 20) };
+
+ EventService es;
+ HallService hs(myVenueHalls, 3);
Venue myVenue(myVenueHalls, 3);
runUI(myVenue);