Skip to content

Commit

Permalink
Forward-declare widget classes in a few dialogs
Browse files Browse the repository at this point in the history
  • Loading branch information
Vultraz committed Mar 21, 2016
1 parent 4d34244 commit e7ea0a8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/gui/dialogs/data_manage.hpp
Expand Up @@ -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:
Expand Down
5 changes: 3 additions & 2 deletions src/gui/dialogs/game_load.hpp
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion src/gui/dialogs/unit_create.hpp
Expand Up @@ -17,7 +17,6 @@

#include "gui/dialogs/dialog.hpp"
#include "gui/widgets/group.hpp"
#include "gui/widgets/text.hpp"
#include "race.hpp"

#include <string>
Expand All @@ -29,6 +28,8 @@ class unit_type;
namespace gui2
{

class ttext_;

class tunit_create : public tdialog
{
public:
Expand Down

0 comments on commit e7ea0a8

Please sign in to comment.