X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/c9cc3f7ba2112294c69c111082223da91554c095..88a2de0cf5c428010ead213c009309f9311abcbc:/Client/include/principal.h diff --git a/Client/include/principal.h b/Client/include/principal.h index d4270a8..80dd691 100644 --- a/Client/include/principal.h +++ b/Client/include/principal.h @@ -6,6 +6,7 @@ #include #include #include "dlg_conectar.h" +#include "plaqui/server/controlclient.h" class Principal:public Gtk::Window { public: @@ -13,17 +14,25 @@ public: virtual ~Principal(); protected: + PlaQui::Server::ControlClient *conexion; + // Archivo XML del Padre Glib::RefPtr refXml; // Dialogo de Conectar DlgConectar *dlg_conectar; + Gtk::Entry *txt_target, *txt_command, *txt_args; + Gtk::TextView *txt_view; // Callbacks del menu y la barra virtual void on_mnu_file_exit(); virtual void on_mnu_file_connect(); virtual void on_mnu_help_about(); virtual void on_dlg_connect_ok(); + virtual void on_get_clicked(); + // Callbacks para las conexiones + void on_conexion_ok(); + void on_conexion_error(unsigned code); }; #endif // _PRINCIPAL_H_