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_REMOVE_DIALOG_H_
00024 #define __TOOLS_CONFIG_EDITOR_CONFIG_REMOVE_DIALOG_H_
00025
00026 #include <gtkmm.h>
00027 #ifdef HAVE_GLADEMM
00028 # include <libglademm/xml.h>
00029 #endif
00030
00031 class ConfigRemoveDialog : public Gtk::Dialog
00032 {
00033 public:
00034 ConfigRemoveDialog(Gtk::Label *lbl_path, Gtk::CheckButton *chb_is_default);
00035 #ifdef HAVE_GLADEMM
00036 ConfigRemoveDialog( BaseObjectType* cobject,
00037 const Glib::RefPtr<Gnome::Glade::Xml>& ref_xml );
00038 #endif
00039 virtual ~ConfigRemoveDialog();
00040
00041 void init(const Glib::ustring& path, bool is_default);
00042 bool get_remove_default() const;
00043
00044 protected:
00045 Gtk::Label* m_lbl_path;
00046 Gtk::CheckButton* m_chb_is_default;
00047 };
00048
00049 #endif