00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __TOOLS_CONFIG_EDITOR_CONFIG_EDITOR_H_
00024 #define __TOOLS_CONFIG_EDITOR_CONFIG_EDITOR_H_
00025
00026 #include <gtkmm.h>
00027 #include <libglademm/xml.h>
00028
00029 class ConfigTreeView;
00030
00031 namespace fawkes{
00032 class ServiceSelectorCBE;
00033 class FawkesNetworkClient;
00034 }
00035
00036 class FawkesConfigEditor
00037 : public Gtk::Window
00038 {
00039 public:
00040 FawkesConfigEditor( Glib::RefPtr<Gnome::Glade::Xml> ref_xml );
00041 ~FawkesConfigEditor();
00042
00043 Gtk::Window& get_window() const;
00044
00045 private:
00046 void on_btn_exit_clicked();
00047 void on_connected();
00048 void on_disconnected();
00049
00050 fawkes::ServiceSelectorCBE* m_service_selector;
00051 fawkes::FawkesNetworkClient* m_network_client;
00052
00053 Gtk::Window* m_wnd_main;
00054 Gtk::Button* m_btn_exit;
00055 ConfigTreeView* m_trv_config;
00056 };
00057
00058 #endif