diff options
Autocommit at 02.05.2022 @ 08:00
2 files changed, 14 insertions, 2 deletions
| -rw-r--r-- | src/EventSystem/Reservation.h | 12 | ||||
| -rw-r--r-- | src/Venue.h | 4 |
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<Hall> get_halls() const; - const EventSystem get_es() const; + const List<Hall>& get_halls() const; + const EventSystem& get_es() const; }; #endif |
