diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-05-07 23:37:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-05-07 23:37:50 +0300 |
commit | 725c8a943ca6ce33a6abefe08003d619de312ddc (patch) | |
tree | 9fb38e38771416936e59bd5f51627367e7b8c149 /src/gui/charselectdialog.h | |
parent | 2a4649185cda0788444452168ddcf665af7f17b5 (diff) | |
download | ManaVerse-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.gz ManaVerse-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.bz2 ManaVerse-725c8a943ca6ce33a6abefe08003d619de312ddc.tar.xz ManaVerse-725c8a943ca6ce33a6abefe08003d619de312ddc.zip |
Ask account password before deleting char.
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 |