Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem
diff options
context:
space:
mode:
Commitf71df43abce2be251d194dade0ebf07485b54eea (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:46:22 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:46:22 +0300
Files27f31a9ee398e28d19ea8a18c8ed5c7970be9c97 /src/EventSystem
FMI-OOP-P1_TicketSystem-f71df43abce2be251d194dade0ebf07485b54eea.tar
FMI-OOP-P1_TicketSystem-f71df43abce2be251d194dade0ebf07485b54eea.tar.gz
FMI-OOP-P1_TicketSystem-f71df43abce2be251d194dade0ebf07485b54eea.zip
Parent62c978e0b669a564468852922bbb83abd1eb635f (diff)
Autocommit at 01.05.2022 @ 10:46
3 files changed, 22 insertions, 0 deletions
-rw-r--r--src/EventSystem/Event.h8
-rw-r--r--src/EventSystem/EventSystem.h3
-rw-r--r--src/EventSystem/StatusCodes.h11
diff --git a/src/EventSystem/Event.h b/src/EventSystem/Event.h
new file mode 100644
index 0000000..9815b4d
--- /dev/null
+++ b/src/EventSystem/Event.h
@@ -0,0 +1,8 @@
+#ifndef HEADER_EVENTSYSTEM_EVENT
+#define HEADER_EVENTSYSTEM_EVENT
+
+class Event {
+
+};
+
+#endif
diff --git a/src/EventSystem/EventSystem.h b/src/EventSystem/EventSystem.h
index 4e8cfb0..b2be837 100644
--- a/src/EventSystem/EventSystem.h
+++ b/src/EventSystem/EventSystem.h
@@ -4,6 +4,7 @@
#include "../List/List.h"
#include "Event.h"
+#include "StatusCodes.h"
class EventSystem {
List<Event> events;
@@ -11,6 +12,8 @@ class EventSystem {
public:
EventSystem(const Event* events, unsigned eventCount);
+
+
};
#endif
diff --git a/src/EventSystem/StatusCodes.h b/src/EventSystem/StatusCodes.h
new file mode 100644
index 0000000..6b4f4ee
--- /dev/null
+++ b/src/EventSystem/StatusCodes.h
@@ -0,0 +1,11 @@
+#ifndef HEADER_EVENTSYSTEM_STATUSCODES
+#define HEADER_EVENTSYSTEM_STATUSCODES
+
+enum StatusCode {
+ Ok,
+ Error,
+
+ E_EventWillOverlap,
+};
+
+#endif