Fawkes API  Fawkes Development Version
plugin_gui.h
00001 
00002 /***************************************************************************
00003  *  plugin_gui.h - Plugin Tool Gui
00004  *
00005  *  Created: Thu Nov 09 20:15:27 2007
00006  *  Copyright  2007       Daniel Beck
00007  *             2008-2009  Tim Niemueller [www.niemueller.de]
00008  *
00009  ****************************************************************************/
00010 
00011 /*  This program is free software; you can redistribute it and/or modify
00012  *  it under the terms of the GNU General Public License as published by
00013  *  the Free Software Foundation; either version 2 of the License, or
00014  *  (at your option) any later version.
00015  *
00016  *  This program is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  *  GNU Library General Public License for more details.
00020  *
00021  *  Read the full text in the LICENSE.GPL file in the doc directory.
00022  */
00023 
00024 #ifndef __TOOLS_PLUGIN_PLUGIN_GUI_PLUGIN_GUI_H_
00025 #define __TOOLS_PLUGIN_PLUGIN_GUI_PLUGIN_GUI_H_
00026 
00027 #include <gtkmm.h>
00028 #include <libglademm/xml.h>
00029 
00030 namespace fawkes {
00031   class PluginTreeView;
00032   class ServiceSelectorCBE;
00033 }
00034 
00035 #define GCONF_PREFIX "/apps/fawkes/plugingui"
00036 
00037 class PluginGuiGtkWindow : public Gtk::Window
00038 {
00039  public:
00040   PluginGuiGtkWindow(BaseObjectType* cobject, const Glib::RefPtr<Gnome::Glade::Xml> ref_xml);
00041   virtual ~PluginGuiGtkWindow();
00042 
00043  private:
00044   void on_connect();
00045   void on_disconnect();
00046 
00047  private:
00048   Gtk::Statusbar             *m_stb_status;
00049   fawkes::PluginTreeView     *m_trv_plugins;
00050   fawkes::ServiceSelectorCBE *m_service_selector;
00051 };
00052 
00053 #endif /* __TOOLS_PLUGIN_PLUGIN_GUI_PLUGIN_GUI_H_ */