Forward-declare widget classes in a few dialogs
This commit is contained in:
parent
4d342447ea
commit
e7ea0a88c2
3 changed files with 8 additions and 5 deletions
|
@ -16,14 +16,15 @@
|
|||
#define GUI_DIALOGS_MANAGE_DATA_HPP_INCLUDED
|
||||
|
||||
#include "gui/dialogs/dialog.hpp"
|
||||
#include "gui/widgets/listbox.hpp"
|
||||
#include "gui/widgets/text.hpp"
|
||||
#include "save_index.hpp"
|
||||
#include "tstring.hpp"
|
||||
|
||||
namespace gui2
|
||||
{
|
||||
|
||||
class tlistbox;
|
||||
class ttext_;
|
||||
|
||||
class tdata_manage : public tdialog
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -16,14 +16,15 @@
|
|||
#define GUI_DIALOGS_LOAD_GAME_HPP_INCLUDED
|
||||
|
||||
#include "gui/dialogs/dialog.hpp"
|
||||
#include "gui/widgets/listbox.hpp"
|
||||
#include "gui/widgets/text.hpp"
|
||||
#include "save_index.hpp"
|
||||
#include "tstring.hpp"
|
||||
|
||||
namespace gui2
|
||||
{
|
||||
|
||||
class tlistbox;
|
||||
class ttext_;
|
||||
|
||||
class tgame_load : public tdialog
|
||||
{
|
||||
public:
|
||||
|
|
|
@ -17,7 +17,6 @@
|
|||
|
||||
#include "gui/dialogs/dialog.hpp"
|
||||
#include "gui/widgets/group.hpp"
|
||||
#include "gui/widgets/text.hpp"
|
||||
#include "race.hpp"
|
||||
|
||||
#include <string>
|
||||
|
@ -29,6 +28,8 @@ class unit_type;
|
|||
namespace gui2
|
||||
{
|
||||
|
||||
class ttext_;
|
||||
|
||||
class tunit_create : public tdialog
|
||||
{
|
||||
public:
|
||||
|
|
Loading…
Add table
Reference in a new issue