diff options
Autocommit at 01.05.2022 @ 10:41
2 files changed, 14 insertions, 0 deletions
| -rw-r--r-- | src/EventSystem/EventSystem.h | 8 | ||||
| -rw-r--r-- | src/Venue.h | 6 |
diff --git a/src/EventSystem/EventSystem.h b/src/EventSystem/EventSystem.h index 525c199..4e8cfb0 100644 --- a/src/EventSystem/EventSystem.h +++ b/src/EventSystem/EventSystem.h @@ -1,8 +1,16 @@ #ifndef HEADER_EVENTSYSTEM #define HEADER_EVENTSYSTEM +#include "../List/List.h" + +#include "Event.h" + class EventSystem { + List<Event> events; + unsigned indSoonestUpcoming; +public: + EventSystem(const Event* events, unsigned eventCount); }; #endif diff --git a/src/Venue.h b/src/Venue.h index d3ae07a..4f58975 100644 --- a/src/Venue.h +++ b/src/Venue.h @@ -8,6 +8,12 @@ class Venue { List<Hall> halls; EventSystem es; + +public: + Venue(const Hall* halls, unsigned hallCount, const EventSystem& es); + + const List<Hall> get_halls() const; + const EventSystem get_es() const; }; #endif |
