Fawkes API  Fawkes Development Version
plugin_gui.h
1 
2 /***************************************************************************
3  * plugin_gui.h - Plugin Tool Gui
4  *
5  * Created: Thu Nov 09 20:15:27 2007
6  * Copyright 2007 Daniel Beck
7  * 2008-2009 Tim Niemueller [www.niemueller.de]
8  *
9  ****************************************************************************/
10 
11 /* This program is free software; you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation; either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU Library General Public License for more details.
20  *
21  * Read the full text in the LICENSE.GPL file in the doc directory.
22  */
23 
24 #ifndef __TOOLS_PLUGIN_PLUGIN_GUI_PLUGIN_GUI_H_
25 #define __TOOLS_PLUGIN_PLUGIN_GUI_PLUGIN_GUI_H_
26 
27 #include <gtkmm.h>
28 
29 namespace fawkes {
30  class PluginTreeView;
31  class ServiceSelectorCBE;
32 }
33 
34 #define GCONF_PREFIX "/apps/fawkes/plugingui"
35 
36 class PluginGuiGtkWindow : public Gtk::Window
37 {
38  public:
39  PluginGuiGtkWindow(BaseObjectType* cobject,
40  const Glib::RefPtr<Gtk::Builder> builder);
41  virtual ~PluginGuiGtkWindow();
42 
43  private:
44  void on_connect();
45  void on_disconnect();
46 
47  private:
48  Gtk::Statusbar *m_stb_status;
49  fawkes::PluginTreeView *m_trv_plugins;
50  fawkes::ServiceSelectorCBE *m_service_selector;
51 };
52 
53 #endif /* __TOOLS_PLUGIN_PLUGIN_GUI_PLUGIN_GUI_H_ */
Graphical plugin management tool.
Definition: plugin_gui.h:36
A TreeView class to list available plugins und trigger their loading/unloading.
Fawkes library namespace.
This widget consists of a Gtk::ComboBox and a Gtk::Button.