X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/a9318661e45dfb9853c6aba811670571a5ec3ea2..a0481d50f6da9cac5efd3502c3657b3fc461ec0d:/Client/include/principal.h diff --git a/Client/include/principal.h b/Client/include/principal.h index c235ebf..420d111 100644 --- a/Client/include/principal.h +++ b/Client/include/principal.h @@ -7,6 +7,9 @@ #include #include "dlg_conectar.h" #include "plaqui/server/controlclient.h" +#include +#include "item_bomba.h" +#include "item_codo.h" class Principal:public Gtk::Window { public: @@ -16,13 +19,18 @@ public: protected: PlaQui::Server::ControlClient *conexion; + // Funciones de carga del XML + void loadBomba(xmlNodePtr nodo); + void loadCodo(xmlNodePtr nodo); + // Archivo XML del Padre Glib::RefPtr refXml; // Dialogo de Conectar DlgConectar *dlg_conectar; - Gtk::Entry *txt_get; + Gtk::Entry *txt_target, *txt_command, *txt_args; Gtk::TextView *txt_view; + Gtk::Fixed *work_place; // Callbacks del menu y la barra virtual void on_mnu_file_exit(); @@ -30,9 +38,10 @@ protected: virtual void on_mnu_help_about(); virtual void on_dlg_connect_ok(); virtual void on_get_clicked(); + virtual void on_mnu_prop(); // Callbacks para las conexiones void on_conexion_ok(); - void on_conexion_error(); + void on_conexion_error(unsigned code); }; #endif // _PRINCIPAL_H_