X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/cd508589aa50ba1a706b8b9f07c9f4c8d6daee4c..9075115540d133ca048025e719884121007b9e87:/Client/include/principal.h diff --git a/Client/include/principal.h b/Client/include/principal.h index e781d42..5f78d99 100644 --- a/Client/include/principal.h +++ b/Client/include/principal.h @@ -83,11 +83,13 @@ protected: virtual void on_btn_pause_clicked(); virtual bool on_item_clicked(GdkEventButton *, ViewItem *); virtual bool on_workplace_expose_event(GdkEventExpose *); + virtual bool on_delete_event(GdkEventAny *); // Callbacks para las conexiones void on_conexion_finished(); void on_conexion_ok(const std::string &body); - void on_conexion_error(unsigned code); + void on_conexion_fatal_error(const PlaQui::Server::ControlClient::Error& code, const std::string& desc); + void on_conexion_error(unsigned code, const std::string& desc); void on_conexion_frame(const std::string &frame); };