diff options
Autocommit at 06.05.2022 @ 09:46
2 files changed, 8 insertions, 2 deletions
| -rw-r--r-- | src/EventSystem/Event.cpp | 8 | ||||
| -rw-r--r-- | src/EventSystem/Event.h | 2 |
diff --git a/src/EventSystem/Event.cpp b/src/EventSystem/Event.cpp index f6c63a1..9bab15b 100644 --- a/src/EventSystem/Event.cpp +++ b/src/EventSystem/Event.cpp @@ -10,6 +10,14 @@ Event::Event(const Hall* hall, String name, Date date) : tickets(), reservations this->date = date; } +const OrderedList<Ticket>& Event::get_tickets() const { + return tickets; +} + +const OrderedList<Reservation>& Event::get_reservations() const { + return reservations; +} + const Hall& Event::get_hall() const { return *hall; } diff --git a/src/EventSystem/Event.h b/src/EventSystem/Event.h index d927be9..cb93fbd 100644 --- a/src/EventSystem/Event.h +++ b/src/EventSystem/Event.h @@ -16,8 +16,6 @@ class Event { String name; const Hall* hall; - unsigned freeSeats; - public: Event(); Event(const Hall* hall, String name, Date date); |
