From 00fe74ecb2cb5f7cc8913f6afc2e0e142efb4e0c Mon Sep 17 00:00:00 2001 From: Syndamia Date: Mon, 2 May 2022 09:35:22 +0300 Subject: Autocommit at 02.05.2022 @ 09:35 --- src/EventSystem/Reservation.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/EventSystem') diff --git a/src/EventSystem/Reservation.h b/src/EventSystem/Reservation.h index a5a77a6..aead7a8 100644 --- a/src/EventSystem/Reservation.h +++ b/src/EventSystem/Reservation.h @@ -2,14 +2,19 @@ #define HEADER_EVENTSYSTEM_RESERVATION #include "Ticket.h" +#include +#include class Reservation { Ticket ticket; char password[8]; - char note[128]; + char note[32]; public: Reservation(const Ticket& ticket, const char* password, const char* note); + + void read(std::istream& istr); + void write(std::ostream& ostr) const; }; #endif -- cgit v1.3.1-23-gd82d