From bd2d475fc16c4260158cb5cd297c86cb3a82cb0e Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sun, 1 May 2022 10:31:16 +0300 Subject: Autocommit at 01.05.2022 @ 10:31 --- src/Hall.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/Hall.h (limited to 'src/Hall.h') diff --git a/src/Hall.h b/src/Hall.h new file mode 100644 index 0000000..7344d86 --- /dev/null +++ b/src/Hall.h @@ -0,0 +1,23 @@ +#ifndef HEADER_HALL +#define HEADER_HALL + +class Hall { + int index; + unsigned rowCount; + unsigned seatsPerRow; + +public: + Hall(); + Hall(int index, unsigned rowCount, unsigned seatsPerRow); + + int get_index() const; + void set_index(int index); + + unsigned get_rowCount() const; + void set_rowCount(unsigned rowCount); + + unsigned get_seatsPerRow() const; + void set_seatsPerRow(unsigned seatsPerRow); +}; + +#endif -- cgit v1.3.1-26-gb76a