Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commitbd2d475fc16c4260158cb5cd297c86cb3a82cb0e (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:31:16 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-01 10:31:16 +0300
Filesa5e0d37eaf4583c3ee37c9d210e2e1da676c7c93 /src
FMI-OOP-P1_TicketSystem-bd2d475fc16c4260158cb5cd297c86cb3a82cb0e.tar
FMI-OOP-P1_TicketSystem-bd2d475fc16c4260158cb5cd297c86cb3a82cb0e.tar.gz
FMI-OOP-P1_TicketSystem-bd2d475fc16c4260158cb5cd297c86cb3a82cb0e.zip
Parentad12b4614276f5eff596bbfb3338caa0de728409 (diff)
Autocommit at 01.05.2022 @ 10:31
2 files changed, 36 insertions, 0 deletions
-rw-r--r--src/Hall.h23
-rw-r--r--src/Venue.h13
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
diff --git a/src/Venue.h b/src/Venue.h
new file mode 100644
index 0000000..d3ae07a
--- /dev/null
+++ b/src/Venue.h
@@ -0,0 +1,13 @@
+#ifndef HEADER_VENUE
+#define HEADER_VENUE
+
+#include "List/List.h"
+#include "Hall.h"
+#include "EventSystem/EventSystem.h"
+
+class Venue {
+ List<Hall> halls;
+ EventSystem es;
+};
+
+#endif