Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit62c978e0b669a564468852922bbb83abd1eb635f (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:41:20 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:41:20 +0300
Files5d367f9a7bfbed5b1d1d996b09b396016cd7479d /src
FMI-OOP-P1_TicketSystem-62c978e0b669a564468852922bbb83abd1eb635f.tar
FMI-OOP-P1_TicketSystem-62c978e0b669a564468852922bbb83abd1eb635f.tar.gz
FMI-OOP-P1_TicketSystem-62c978e0b669a564468852922bbb83abd1eb635f.zip
Parent3351e42a86d20453cb1271c23d666e3315c36ab6 (diff)
Autocommit at 01.05.2022 @ 10:41
2 files changed, 14 insertions, 0 deletions
-rw-r--r--src/EventSystem/EventSystem.h8
-rw-r--r--src/Venue.h6
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