blob: bdf3a2bc477ec560d49b1e7c9375a2645bab0de8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*! \file main.cpp
* \brief Entry point for application
*
* Contains the main() function.
*/
#include "Services/EventService.h"
#include "Services/HallService.h"
#include "Models/Hall.h"
#include "UserInterface/FMITicketSystemConsoleUI.h"
/*!
* Creates instances of HallService and EventService and
* executes runUI() function.
*/
int main() {
Hall myVenueHalls[] = { Hall(1, 20, 30), Hall(2, 15, 15), Hall(3, 10, 20) };
HallService hs(myVenueHalls, 3);
EventService es(&hs);
runUI(&es, &hs);
}
|