From 19dc8457df9a9f9b79ff65f1c259c2ec537ba4cc Mon Sep 17 00:00:00 2001 From: Syndamia Date: Fri, 6 May 2022 22:51:04 +0300 Subject: Minor naming changes --- src/EventSystem/Event.h | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/EventSystem/Event.h') diff --git a/src/EventSystem/Event.h b/src/EventSystem/Event.h index cb93fbd..43ad5d9 100644 --- a/src/EventSystem/Event.h +++ b/src/EventSystem/Event.h @@ -10,21 +10,21 @@ #include "StatusCodes.h" class Event { + const Hall* hall; + String name; + Date date; OrderedList tickets; OrderedList reservations; - Date date; - String name; - const Hall* hall; public: Event(); Event(const Hall* hall, String name, Date date); - const OrderedList& get_tickets() const; - const OrderedList& get_reservations() const; const Hall& get_hall() const; const String& get_name() const; const Date& get_date() const; + const OrderedList& get_tickets() const; + const OrderedList& get_reservations() const; StatusCode reserveTicket(const Ticket& ticket, const char* password, const char* note); @@ -35,9 +35,6 @@ public: StatusCode buyTicketFromReservation(const Reservation& reservation, const char* password); - bool ticketIsFree(unsigned row, unsigned seat); - bool ticketIsFree(const Ticket& ticket); - int compare(const Event& other); }; -- cgit v1.3.1-26-gb76a