From 62c978e0b669a564468852922bbb83abd1eb635f Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 1 May 2022 10:41:20 +0300 Subject: Autocommit at 01.05.2022 @ 10:41 --- src/EventSystem/EventSystem.h | 8 ++++++++ src/Venue.h | 6 ++++++ 2 files changed, 14 insertions(+) (limited to 'src') 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 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 halls; EventSystem es; + +public: + Venue(const Hall* halls, unsigned hallCount, const EventSystem& es); + + const List get_halls() const; + const EventSystem get_es() const; }; #endif -- cgit v1.3.1-26-gb76a