diff options
Autocommit at 02.05.2022 @ 20:10
1 files changed, 6 insertions, 0 deletions
| -rw-r--r-- | src/EventSystem/Ticket.h | 6 |
diff --git a/src/EventSystem/Ticket.h b/src/EventSystem/Ticket.h index 159c6fa..dc87a2f 100644 --- a/src/EventSystem/Ticket.h +++ b/src/EventSystem/Ticket.h @@ -1,6 +1,9 @@ #ifndef HEADER_EVENTSYSTEM_TICKET #define HEADER_EVENTSYSTEM_TICKET +#include <istream> +#include <ostream> + class Ticket { unsigned row; unsigned seat; @@ -11,6 +14,9 @@ public: unsigned get_row() const; unsigned get_seat() const; + + void read(std::istream& istr); + void write(std::ostream& ostr) const; }; #endif |
