summaryrefslogtreecommitdiff
path: root/src/gui/char_select.h
diff options
context:
space:
mode:
authorRogier Polak <rogier.l.a.polak@gmail.com>2007-02-23 19:18:28 +0000
committerRogier Polak <rogier.l.a.polak@gmail.com>2007-02-23 19:18:28 +0000
commit775404c84c3250225d43f10c4a5363e997618cb2 (patch)
tree38393287d1554d8e19471f24bc65525c79efeccb /src/gui/char_select.h
parentfee8461a594770f8ef2bd826868a4ae81270a666 (diff)
downloadmana-775404c84c3250225d43f10c4a5363e997618cb2.tar.gz
mana-775404c84c3250225d43f10c4a5363e997618cb2.tar.bz2
mana-775404c84c3250225d43f10c4a5363e997618cb2.tar.xz
mana-775404c84c3250225d43f10c4a5363e997618cb2.zip
Added unregistering, logout_then_exit, switch_character and switch_accountserver.
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r--src/gui/char_select.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h
index dbce2cbf..7136f301 100644
--- a/src/gui/char_select.h
+++ b/src/gui/char_select.h
@@ -31,6 +31,8 @@
#include <guichan/actionlistener.hpp>
+#include "../logindata.h"
+
class Player;
class LocalPlayer;
class PlayerBox;
@@ -47,7 +49,8 @@ class CharSelectDialog : public Window, public gcn::ActionListener
/**
* Constructor.
*/
- CharSelectDialog(LockedArray<LocalPlayer*> *charInfo);
+ CharSelectDialog(LockedArray<LocalPlayer*> *charInfo,
+ LoginData *loginData);
void action(const gcn::ActionEvent &event);
@@ -71,6 +74,7 @@ class CharSelectDialog : public Window, public gcn::ActionListener
gcn::Button *mDelCharButton;
gcn::Button *mPreviousButton;
gcn::Button *mNextButton;
+ gcn::Button *mUnRegisterButton;
gcn::Label *mNameLabel;
gcn::Label *mLevelLabel;
@@ -80,6 +84,7 @@ class CharSelectDialog : public Window, public gcn::ActionListener
bool mCharSelected;
+ LoginData *mLoginData;
/**
* Communicate character deletion to the server.
*/
@@ -130,6 +135,7 @@ class CharCreateDialog : public Window, public gcn::ActionListener
int mSlot;
+
/**
* Communicate character creation to the server.
*/