diff options
Reorganized whole architecture
1 files changed, 0 insertions, 41 deletions
| -rw-r--r-- | src/EventSystem/Event.h | 41 |
diff --git a/src/EventSystem/Event.h b/src/EventSystem/Event.h deleted file mode 100644 index 43ad5d9..0000000 --- a/src/EventSystem/Event.h +++ /dev/null @@ -1,41 +0,0 @@ -#ifndef HEADER_EVENTSYSTEM_EVENT -#define HEADER_EVENTSYSTEM_EVENT - -#include "../List/OrderedList.hpp" -#include "../Date/Date.h" -#include "../String/String.h" -#include "../Venue/Hall.h" -#include "Ticket.h" -#include "Reservation.h" -#include "StatusCodes.h" - -class Event { - const Hall* hall; - String name; - Date date; - OrderedList<Ticket> tickets; - OrderedList<Reservation> reservations; - -public: - Event(); - Event(const Hall* hall, String name, Date date); - - const Hall& get_hall() const; - const String& get_name() const; - const Date& get_date() const; - const OrderedList<Ticket>& get_tickets() const; - const OrderedList<Reservation>& get_reservations() const; - - StatusCode reserveTicket(const Ticket& ticket, const char* password, const char* note); - - StatusCode cancelReservation(unsigned row, unsigned seat); - StatusCode cancelReservation(const Ticket& ticket); - - StatusCode buyTicket(const Ticket& ticket); - - StatusCode buyTicketFromReservation(const Reservation& reservation, const char* password); - - int compare(const Event& other); -}; - -#endif |
