X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/c9cc3f7ba2112294c69c111082223da91554c095..a0481d50f6da9cac5efd3502c3657b3fc461ec0d:/Client/include/principal.h?ds=sidebyside diff --git a/Client/include/principal.h b/Client/include/principal.h index d4270a8..420d111 100644 --- a/Client/include/principal.h +++ b/Client/include/principal.h @@ -6,6 +6,10 @@ #include #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: @@ -13,17 +17,31 @@ public: virtual ~Principal(); 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_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(); virtual void on_mnu_file_connect(); 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); }; #endif // _PRINCIPAL_H_