diff options
Diffstat (limited to 'src/gui/charselectdialog.h')
-rw-r--r-- | src/gui/charselectdialog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/charselectdialog.h b/src/gui/charselectdialog.h index 9db688800..bcbbb7679 100644 --- a/src/gui/charselectdialog.h +++ b/src/gui/charselectdialog.h @@ -38,6 +38,7 @@ class CharacterDisplay; class LocalPlayer; class LoginData; class PlayerBox; +class TextDialog; namespace Net { @@ -84,6 +85,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener, bool selectByName(const std::string &name, SelectAction action = Focus); + void askPasswordForDeletion(int index); + private: void attemptCharacterDelete(int index); void attemptCharacterSelect(int index); @@ -109,6 +112,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener, LoginData *mLoginData; Net::CharHandler *mCharHandler; + TextDialog *mDeleteDialog; + int mDeleteIndex; }; #endif |