1 /*
2    Copyright (C) 2008 - 2018 by Mark de Wever <koraq@xs4all.nl>
3    Part of the Battle for Wesnoth Project https://www.wesnoth.org/
4 
5    This program is free software; you can redistribute it and/or modify
6    it under the terms of the GNU General Public License as published by
7    the Free Software Foundation; either version 2 of the License, or
8    (at your option) any later version.
9    This program is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY.
11 
12    See the COPYING file for more details.
13 */
14 
15 /**
16  * @file
17  * Contains all forward declarations for field.hpp.
18  */
19 
20 #pragma once
21 
22 namespace gui2
23 {
24 
25 class widget;
26 class window;
27 
28 class field_base;
29 class field_bool;
30 class field_label;
31 class field_text;
32 
33 // NOTE the const must be in the template else things fail :/ bug in gcc?
34 template <class T, class W, class CT = const T>
35 class field;
36 class integer_selector;
37 typedef field<int, integer_selector> field_integer;
38 
39 } // namespace gui2
40