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