summaryrefslogtreecommitdiff
path: root/src/gui/quitdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/quitdialog.h')
-rw-r--r--src/gui/quitdialog.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/gui/quitdialog.h b/src/gui/quitdialog.h
index aee671db..7f12c41c 100644
--- a/src/gui/quitdialog.h
+++ b/src/gui/quitdialog.h
@@ -22,27 +22,28 @@
#ifndef QUITDIALOG_H
#define QUITDIALOG_H
-#include <iosfwd>
-#include <guichan/actionlistener.hpp>
+#include "gui/window.h"
+
+#include "guichanfwd.h"
+#include "main.h"
-#include "window.h"
-#include "../guichanfwd.h"
-#include "../main.h"
+#include <guichan/actionlistener.hpp>
/**
* The quit dialog.
*
* \ingroup Interface
*/
-class QuitDialog : public Window, public gcn::ActionListener {
+class QuitDialog : public Window, public gcn::ActionListener
+{
public:
/**
* Constructor
*
* @quitGame; to be used for getting out of the while loop in Game
- * @pointerToMe; will be set to NULL when the QuitDialog is destroyed
+ * @pointerToMe will be set to NULL when the QuitDialog is destroyed
*/
- QuitDialog(bool* quitGame, QuitDialog** pointerToMe);
+ QuitDialog(bool *quitGame, QuitDialog **pointerToMe);
/**
* Destructor
@@ -62,9 +63,8 @@ class QuitDialog : public Window, public gcn::ActionListener {
gcn::Button *mOkButton;
gcn::Button *mCancelButton;
- bool* mQuitGame;
- QuitDialog** mMyPointer;
-
+ bool *mQuitGame;
+ QuitDialog **mMyPointer;
};
#endif