BUGFIX: Elevators did not handle Requests in the correct order
[cs356-p1-elevator.git] / requestbutton.hpp
1 #ifndef REQUESTBUTTON_HPP
2 #define REQUESTBUTTON_HPP
3
4 #include <gtkmm.h>
5 #include <string>
6
7 class RequestButton : public Gtk::ToggleButton
8 {
9         public:
10                 RequestButton (int elevator, int floor, const std::string text="0");
11
12                 int getElevatorNumber () const;
13                 int getFloorNumber() const;
14
15         private:
16                 int elevator_;
17                 int floor_;
18 };
19
20 #endif /* REQUESTBUTTON_HPP */
21
22 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */