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
29namespace fawkes {
30class PluginTreeView;
31class ServiceSelectorCBE;
32} // namespace fawkes
33
34#define GCONF_PREFIX "/apps/fawkes/plugingui"
35
36class PluginGuiGtkWindow : public Gtk::Window
37{
38public:
39 PluginGuiGtkWindow(BaseObjectType *cobject, const Glib::RefPtr<Gtk::Builder> builder);
40 virtual ~PluginGuiGtkWindow();
41
42private:
43 void on_connect();
44 void on_disconnect();
45
46private:
47 Gtk::Statusbar * m_stb_status;
48 fawkes::PluginTreeView * m_trv_plugins;
49 fawkes::ServiceSelectorCBE *m_service_selector;
50};
51
52#endif /* TOOLS_PLUGIN_PLUGIN_GUI_PLUGIN_GUI_H__ */
Graphical plugin management tool.
Definition: plugin_gui.h:37
PluginGuiGtkWindow(BaseObjectType *cobject, const Glib::RefPtr< Gtk::Builder > builder)
Constructor.
Definition: plugin_gui.cpp:44
virtual ~PluginGuiGtkWindow()
Destructor.
Definition: plugin_gui.cpp:67
A TreeView class to list available plugins und trigger their loading/unloading.
This widget consists of a Gtk::ComboBox and a Gtk::Button.
Fawkes library namespace.