Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitc5bf971448beaa6a313b29feaec7459594fa0125 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 08:00:11 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 08:00:11 +0300
Files2d105b858358605770bf4840464f69746578cf49 /src
FMI-OOP-P1_TicketSystem-c5bf971448beaa6a313b29feaec7459594fa0125.tar
FMI-OOP-P1_TicketSystem-c5bf971448beaa6a313b29feaec7459594fa0125.tar.gz
FMI-OOP-P1_TicketSystem-c5bf971448beaa6a313b29feaec7459594fa0125.zip
Parentdfa8e48078a1ee90e2dbde5fbb2aba7b84de2897 (diff)
Autocommit at 02.05.2022 @ 08:00
2 files changed, 14 insertions, 2 deletions
-rw-r--r--src/EventSystem/Reservation.h12
-rw-r--r--src/Venue.h4
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