X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=callbutton.hpp;fp=callbutton.hpp;h=262c5ff89a262708808262e801ec799dc8e2a340;hb=c08c30e78fdbbde7e5823b26303b0dded3a4c1cf;hp=0000000000000000000000000000000000000000;hpb=8c21925567593249a21992bb1e10d61e71f27739;p=cs356-p1-elevator.git diff --git a/callbutton.hpp b/callbutton.hpp new file mode 100644 index 0000000..262c5ff --- /dev/null +++ b/callbutton.hpp @@ -0,0 +1,22 @@ +#ifndef CALLBUTTON_HPP +#define CALLBUTTON_HPP + +#include "direction.hpp" +#include + +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: */