X-Git-Url: https://irasnyder.com/gitweb/?a=blobdiff_plain;f=main.hpp;h=fde418f808a713b91b4bff2c21d49fbe5e7fbc45;hb=d4f5a2078027e614de4d1be76ed15550bb1b280c;hp=570ca1737af1cd8fff3bc8f56ce257e88308785f;hpb=a3b0112117bfb69d7d2053e0f4f5b1220b95379b;p=cs356-p1-elevator.git diff --git a/main.hpp b/main.hpp index 570ca17..fde418f 100644 --- a/main.hpp +++ b/main.hpp @@ -1,11 +1,17 @@ #ifndef MAIN_HPP #define MAIN_HPP -#include "elevatorgui.hpp" +#include "direction.hpp" + #include #include -extern ElevatorGUI *thegui; +void gui_update_position_label (int elevator, float new_position, Direction direction); +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 */