Fawkes API
Fawkes Development Version
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
config_editor.h
1
2
/***************************************************************************
3
* config_editor.h - Fawkes Config Editor
4
*
5
* Created: Tue Sep 23 13:17:41 2008
6
* Copyright 2008 Daniel Beck
7
*
8
****************************************************************************/
9
10
/* This program is free software; you can redistribute it and/or modify
11
* it under the terms of the GNU General Public License as published by
12
* the Free Software Foundation; either version 2 of the License, or
13
* (at your option) any later version.
14
*
15
* This program is distributed in the hope that it will be useful,
16
* but WITHOUT ANY WARRANTY; without even the implied warranty of
17
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18
* GNU Library General Public License for more details.
19
*
20
* Read the full text in the LICENSE.GPL file in the doc directory.
21
*/
22
23
#ifndef __TOOLS_CONFIG_EDITOR_CONFIG_EDITOR_H_
24
#define __TOOLS_CONFIG_EDITOR_CONFIG_EDITOR_H_
25
26
#include <gtkmm.h>
27
28
class
ConfigTreeView
;
29
30
namespace
fawkes{
31
class
ServiceSelectorCBE;
32
class
FawkesNetworkClient;
33
}
34
35
class
FawkesConfigEditor
36
:
public
Gtk::Window
37
{
38
public
:
39
FawkesConfigEditor
(Glib::RefPtr<Gtk::Builder> builder);
40
~FawkesConfigEditor
();
41
42
Gtk::Window&
get_window
()
const
;
43
44
private
:
45
void
on_btn_exit_clicked();
46
void
on_connected();
47
void
on_disconnected();
48
49
fawkes::ServiceSelectorCBE
* m_service_selector;
50
fawkes::FawkesNetworkClient
* m_network_client;
51
52
Gtk::Window* m_wnd_main;
53
Gtk::Button* m_btn_exit;
54
ConfigTreeView
* m_trv_config;
55
};
56
57
#endif
/* __TOOLS_CONFIG_EDITOR_CONFIG_EDITOR_H_ */
src
tools
config_editor
config_editor.h
Generated by
1.8.1.2