]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/wx-console/wxbconfigfileeditor.h
Add support for director monitoring.
[bacula/bacula] / bacula / src / wx-console / wxbconfigfileeditor.h
1 /*
2  *
3  *    Configuration file editor
4  *
5  *    Nicolas Boichat, May 2004
6  *
7  *    Version $Id$
8  */
9 /*
10    Copyright (C) 2004 Kern Sibbald and John Walker
11
12    This program is free software; you can redistribute it and/or
13    modify it under the terms of the GNU General Public License
14    as published by the Free Software Foundation; either version 2
15    of the License, or (at your option) any later version.
16
17    This program is distributed in the hope that it will be useful,
18    but WITHOUT ANY WARRANTY; without even the implied warranty of
19    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20    GNU General Public License for more details.
21
22    You should have received a copy of the GNU General Public License
23    along with this program; if not, write to the Free Software
24    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
25  */
26
27 #include "wx/wxprec.h"
28 #include "wx/wx.h"
29 #include <wx/dialog.h>
30
31 #include <wx/textctrl.h>
32
33 class wxbConfigFileEditor : public wxDialog {
34 public:
35         wxbConfigFileEditor(wxWindow* parent, wxString filename);
36         virtual ~wxbConfigFileEditor();
37 private:
38    wxString filename;
39    
40    wxTextCtrl* textCtrl;
41    
42    void OnSave(wxCommandEvent& event);
43    void OnQuit(wxCommandEvent& event);
44    
45    DECLARE_EVENT_TABLE()
46 };