X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/88a2de0cf5c428010ead213c009309f9311abcbc..a0481d50f6da9cac5efd3502c3657b3fc461ec0d:/Client/include/principal.h?ds=inline diff --git a/Client/include/principal.h b/Client/include/principal.h index 80dd691..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,6 +19,10 @@ 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; @@ -23,6 +30,7 @@ protected: DlgConectar *dlg_conectar; 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,6 +38,7 @@ 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(unsigned code);