Use the GUI
[cs356-p1-elevator.git] / main.hpp
index 570ca17..124c63e 100644 (file)
--- a/main.hpp
+++ b/main.hpp
@@ -1,11 +1,17 @@
 #ifndef MAIN_HPP
 #define MAIN_HPP
 
-#include "elevatorgui.hpp"
+#include "direction.hpp"
+
 #include <iostream>
 #include <gtkmm/main.h>
 
-extern ElevatorGUI *thegui;
+void gui_update_position_label (int elevator, float new_position);
+void gui_unpress_call_button (int floor, Direction direction);
+void gui_unpress_request_button (int elevator, int floor);
+void gui_open_door (int elevator, int floor);
+void gui_close_door (int elevator, int floor);
+
 
 #endif /* MAIN_HPP */