25 #ifndef _GUI_UTILS_PLUGIN_TREE_VIEW_H_
26 #define _GUI_UTILS_PLUGIN_TREE_VIEW_H_
28 #include <core/utils/lock_queue.h>
29 #include <gui_utils/connection_dispatcher.h>
30 #include <netcomm/fawkes/client_handler.h>
39 class FawkesNetworkClient;
40 class FawkesNetworkMessage;
46 PluginTreeView(BaseObjectType *cobject,
const Glib::RefPtr<Gtk::Builder> builder);
53 class PluginRecord :
public Gtk::TreeModelColumnRecord
64 Gtk::TreeModelColumn<int> index;
65 Gtk::TreeModelColumn<Glib::ustring> name;
66 Gtk::TreeModelColumn<Glib::ustring> description;
67 Gtk::TreeModelColumn<bool> loaded;
71 void on_status_toggled(
const Glib::ustring &path);
73 void on_disconnected();
76 void on_status_clicked();
77 void on_name_clicked();
78 void on_config_changed();
80 void append_plugin_column();
83 Glib::RefPtr<Gtk::ListStore> m_plugin_list;
85 Glib::RefPtr<Gnome::Conf::Client> gconf_;
87 PluginRecord m_plugin_record;
89 sigc::connection gconf_connection_;
90 Glib::ustring gconf_prefix_;