1 /*
2 
3                           Firewall Builder
4 
5                  Copyright (C) 2003 NetCitadel, LLC
6 
7   Author:  Vadim Kurland     vadim@fwbuilder.org
8 
9   $Id$
10 
11   This program is free software which we release under the GNU General Public
12   License. You may redistribute and/or modify this program under the terms
13   of that license as published by the Free Software Foundation; either
14   version 2 of the License, or (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 General Public License for more details.
20 
21   To get a copy of the GNU General Public License, write to the Free Software
22   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 
24 */
25 
26 
27 #ifndef __HOSTDIALOG_H_
28 #define __HOSTDIALOG_H_
29 
30 #include "config.h"
31 #include <ui_hostdialog_q.h>
32 #include "BaseObjectDialog.h"
33 #include <QWidget>
34 
35 #include "fwbuilder/FWObject.h"
36 
37 class ProjectPanel;
38 
39 class HostDialog : public BaseObjectDialog
40 {
41     Q_OBJECT;
42 
43     Ui::HostDialog_q *m_dialog;
44 
45  public:
46     HostDialog(QWidget *parent);
47     ~HostDialog();
48 
49 public slots:
50     virtual void applyChanges();
51     virtual void loadFWObject(libfwbuilder::FWObject *obj);
52     virtual void validate(bool*);
53 };
54 
55 #endif // HOSTDIALOG_H
56