diff options
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r-- | src/gui/char_select.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h index f1675cb1..ac3909bb 100644 --- a/src/gui/char_select.h +++ b/src/gui/char_select.h @@ -29,6 +29,7 @@ #include "../main.h" #include "../net/network.h" #include "gui.h" +#include "confirm_dialog.h" #include "playerbox.h" #include <guichan/allegro.hpp> @@ -61,6 +62,18 @@ class CharSelectDialog : public Window, public gcn::ActionListener { */ void serverCharSelect(); + /** + * Listener for confirming character deletion. + */ + class CharDeleteConfirm : public ConfirmDialog + { + public: + CharDeleteConfirm(CharSelectDialog *master); + void action(const std::string &eventId); + private: + CharSelectDialog *master; + }; + public: /** * Constructor. |