Website Summary Files Commits Branches @commit @diff @stats
path: root / src / EventSystem / Reservation.h
blob: aead7a8d030efcf6361a44408da2206394a3b425 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef HEADER_EVENTSYSTEM_RESERVATION
#define HEADER_EVENTSYSTEM_RESERVATION

#include "Ticket.h"
#include <istream>
#include <ostream>

class Reservation {
	Ticket ticket;
	char password[8];
	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