Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem
diff options
context:
space:
mode:
Commit00fe74ecb2cb5f7cc8913f6afc2e0e142efb4e0c (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 09:35:22 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 09:35:22 +0300
Files56794d29e4b7d522b642f3ecd491b3b407267ae7 /src/EventSystem
FMI-OOP-P1_TicketSystem-00fe74ecb2cb5f7cc8913f6afc2e0e142efb4e0c.tar
FMI-OOP-P1_TicketSystem-00fe74ecb2cb5f7cc8913f6afc2e0e142efb4e0c.tar.gz
FMI-OOP-P1_TicketSystem-00fe74ecb2cb5f7cc8913f6afc2e0e142efb4e0c.zip
Parente6c6514ca9a188544b9e8042c3dec2ec788e814b (diff)
Autocommit at 02.05.2022 @ 09:35
1 files changed, 6 insertions, 1 deletions
-rw-r--r--src/EventSystem/Reservation.h7
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 <istream>
+#include <ostream>
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