Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Services / EventService.h
diff options
context:
space:
mode:
Commit7f87c0ba3838ddda550117c4bc74f46b7b0d94dc (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 09:12:02 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-07 09:12:02 +0300
Files18c10ea692da753259d2ef827413293ad7b2380e /src/Services/EventService.h
FMI-OOP-P1_TicketSystem-7f87c0ba3838ddda550117c4bc74f46b7b0d94dc.tar
FMI-OOP-P1_TicketSystem-7f87c0ba3838ddda550117c4bc74f46b7b0d94dc.tar.gz
FMI-OOP-P1_TicketSystem-7f87c0ba3838ddda550117c4bc74f46b7b0d94dc.zip
Parentdc13118c73b1fe6b54892c5e0584a97707e12b2d (diff)
Autocommit at 07.05.2022 @ 09:12
1 files changed, 8 insertions, 8 deletions
-rw-r--r--src/Services/EventService.h16
diff --git a/src/Services/EventService.h b/src/Services/EventService.h
index 4eeac61..125e056 100644
--- a/src/Services/EventService.h
+++ b/src/Services/EventService.h
@@ -1,13 +1,13 @@
-#ifndef HEADER_EVENTSYSTEM
-#define HEADER_EVENTSYSTEM
+#ifndef HEADER_SERVICE_EVENTSERVICE
+#define HEADER_SERVICE_EVENTSERVICE
-#include "../List/OrderedList.hpp"
-#include "../Date/Date.h"
+#include "../Generic/List/OrderedList.hpp"
+#include "../Generic/Date/Date.h"
-#include "Event.h"
+#include "../Models/Event.h"
#include "StatusCodes.h"
-class EventSystem {
+class EventService {
OrderedList<Event> events;
unsigned indSoonestUpcoming;
@@ -16,8 +16,8 @@ class EventSystem {
unsigned indexOfEvent(const char* name, const Date& date);
public:
- EventSystem();
- EventSystem(const Event* events, unsigned eventCount);
+ EventService();
+ EventService(const Event* events, unsigned eventCount);
StatusCode createEvent(const Hall* hall, String name, Date date);
StatusCode cancelEvent(const char* name, const Date& date);