From c5bf971448beaa6a313b29feaec7459594fa0125 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 2 May 2022 08:00:11 +0300 Subject: Autocommit at 02.05.2022 @ 08:00 --- src/EventSystem/Reservation.h | 12 ++++++++++++ src/Venue.h | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 src/EventSystem/Reservation.h (limited to 'src') diff --git a/src/EventSystem/Reservation.h b/src/EventSystem/Reservation.h new file mode 100644 index 0000000..1825a13 --- /dev/null +++ b/src/EventSystem/Reservation.h @@ -0,0 +1,12 @@ +#ifndef HEADER_EVENTSYSTEM_RESERVATION +#define HEADER_EVENTSYSTEM_RESERVATION + +#include "Ticket.h" + +class Reservation { + Ticket ticket; + char password[8]; + char note[128]; +}; + +#endif diff --git a/src/Venue.h b/src/Venue.h index 4f58975..b48b238 100644 --- a/src/Venue.h +++ b/src/Venue.h @@ -12,8 +12,8 @@ class Venue { public: Venue(const Hall* halls, unsigned hallCount, const EventSystem& es); - const List get_halls() const; - const EventSystem get_es() const; + const List& get_halls() const; + const EventSystem& get_es() const; }; #endif -- cgit v1.3.1-26-gb76a