Get the Play/Pause and Quit buttons working nicely
[cs356-p1-elevator.git] / elevatordoor.hpp
1 #ifndef ELEVATORDOOR_HPP
2 #define ELEVATORDOOR_HPP
3
4 #include <string>
5 #include <gtkmm.h>
6
7
8 const std::string OPENED_IMAGE = "eopen2.png";
9 const std::string CLOSED_IMAGE = "eclose.png";
10
11
12 class ElevatorDoor : public Gtk::Image
13 {
14         public:
15                 ElevatorDoor (int elevator, int floor);
16
17                 int getElevatorNumber() const;
18                 int getFloorNumber() const;
19
20                 void open ();
21                 void close ();
22
23         private:
24                 int elevator_;
25                 int floor_;
26 };
27
28 #endif /* ELEVATORDOOR_HPP */
29
30 /* vim: set ts=4 sts=4 sw=4 noet tw=112: */