Implement the GUI
[cs356-p1-elevator.git] / positionlabel.cpp
diff --git a/positionlabel.cpp b/positionlabel.cpp
new file mode 100644 (file)
index 0000000..bdbe24d
--- /dev/null
@@ -0,0 +1,15 @@
+#include "positionlabel.hpp"
+
+PositionLabel::PositionLabel (int elevator, const std::string text)
+       : Gtk::Label (text)
+       , elevator_(elevator)
+{
+       // Intentionally Left Empty
+}
+
+int PositionLabel::getElevatorNumber () const
+{
+       return elevator_;
+}
+
+/* vim: set ts=4 sts=4 sw=4 noet tw=112: */