Implement the GUI
[cs356-p1-elevator.git] / callbutton.hpp
diff --git a/callbutton.hpp b/callbutton.hpp
new file mode 100644 (file)
index 0000000..262c5ff
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef CALLBUTTON_HPP
+#define CALLBUTTON_HPP
+
+#include "direction.hpp"
+#include <gtkmm.h>
+
+class CallButton : public Gtk::ToggleButton
+{
+       public:
+               CallButton (int floor, Direction direction);
+
+               int getFloorNumber () const;
+               Direction getDirection () const;
+
+       private:
+               int floor_;
+               Direction direction_;
+};
+
+#endif /* CALLBUTTON_HPP */
+
+/* vim: set ts=4 sts=4 sw=4 noet tw=112: */