Blame | Last modification | View Log | RSS feed
#include <gtkmm/main.h>
#include "elevator_window.h"
int main (int argc, char *argv[])
{
// Set up the controller
Controller c(10, 5);
// Start GTK
Gtk::Main kit (argc, argv);
// Create the window
Elevator_Window window;
// Set associations
window.set_controller (&c);
c.set_gui (&window);
// Start the backend
c.start_all_elevators ();
// Start the GUI
Gtk::Main::run (window);
return 0;
}