1 /**********************************************************************
2  Freeciv - Copyright (C) 1996 - A Kjeldberg, L Gregersen, P Unold
3    This program is free software; you can redistribute it and/or modify
4    it under the terms of the GNU General Public License as published by
5    the Free Software Foundation; either version 2, or (at your option)
6    any later version.
7 
8    This program is distributed in the hope that it will be useful,
9    but WITHOUT ANY WARRANTY; without even the implied warranty of
10    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
11    GNU General Public License for more details.
12 ***********************************************************************/
13 
14 #ifndef FC__REQUIRERS_DLG_H
15 #define FC__REQUIRERS_DLG_H
16 
17 #ifdef HAVE_CONFIG_H
18 #include <fc_config.h>
19 #endif
20 
21 // Qt
22 #include <QDialog>
23 #include <QTextEdit>
24 
25 class ruledit_gui;
26 
27 class requirers_dlg : public QDialog
28 {
29   Q_OBJECT
30 
31   public:
32     explicit requirers_dlg(ruledit_gui *ui_in);
33     void clear(const char *title);
34     void add(const char *msg);
35 
36   private:
37     ruledit_gui *ui;
38 
39     QTextEdit *area;
40 
41   private slots:
42     void close_now();
43 };
44 
45 
46 #endif // FC__REQUIRERS_DIALOG_H
47