1 #ifndef INCLUDE_GAZE_GUI_EVENT_MANAGER_H_ 
    2 #define INCLUDE_GAZE_GUI_EVENT_MANAGER_H_ 
    6 #include "dlib/gui_core.h" 
   66   void subscribe(dlib::base_window* subscriber);
 
   80 #endif  // INCLUDE_GAZE_GUI_EVENT_MANAGER_H_ 
static EventManager & instance()
 
void publish(void *data, Events event)
 
void unsubscribe(dlib::base_window *subscriber)
 
Handles communication between non-gui and gui processes in a safe way. 
 
void subscribe(dlib::base_window *subscriber)
 
An enum of events to make it easy to distinguish them with names instead of numbers.