X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43fc1b3f57852f2af098fa7411e83220015aaa6f..6243f7da7604b2237018a1f02cb4baaaf207381a:/Client/include/principal.h?ds=inline diff --git a/Client/include/principal.h b/Client/include/principal.h index f18735c..c321243 100644 --- a/Client/include/principal.h +++ b/Client/include/principal.h @@ -30,7 +30,8 @@ protected: void loadExclusa(xmlNodePtr nodo); void loadTank(xmlNodePtr nodo); void loadUnion(xmlNodePtr nodo); - + void loadDrain(xmlNodePtr nodo); + // Archivo XML del Padre Glib::RefPtr refXml; @@ -39,10 +40,13 @@ protected: Gtk::Entry *txt_target, *txt_command, *txt_args; Gtk::TextView *txt_view; Gtk::Fixed *work_place; + Gtk::Label *lbl_nombre, *lbl_color, *lbl_flujo; + Gtk::Image *ico_conected; // Callbacks del menu y la barra virtual void on_mnu_file_exit(); virtual void on_mnu_file_connect(); + virtual void on_mnu_file_disconnect(); virtual void on_mnu_help_about(); virtual void on_dlg_connect_ok(); virtual void on_get_clicked(); @@ -51,7 +55,9 @@ protected: virtual bool on_item_clicked(GdkEventButton *, ViewItem *); // Callbacks para las conexiones - void on_conexion_ok(); + void on_conexion_connected(); + void on_conexion_finished(); + void on_conexion_ok(const std::string &body); void on_conexion_error(unsigned code); };