diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-11 16:15:10 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-01-11 16:15:10 +0000 |
commit | caeba363798727f75972ce6b8625fd9754bee903 (patch) | |
tree | 619fbff5801278d5b4f98413e354ea73a87f34bc /src/gui/char_select.h | |
parent | 24bf86763cdba47e9a88124a3394882667169185 (diff) | |
download | mana-client-caeba363798727f75972ce6b8625fd9754bee903.tar.gz mana-client-caeba363798727f75972ce6b8625fd9754bee903.tar.bz2 mana-client-caeba363798727f75972ce6b8625fd9754bee903.tar.xz mana-client-caeba363798727f75972ce6b8625fd9754bee903.zip |
Implemented parent relationship for Window class and converted more ok dialogs
to the OkDialog class.
Diffstat (limited to 'src/gui/char_select.h')
-rw-r--r-- | src/gui/char_select.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/gui/char_select.h b/src/gui/char_select.h index 5711fb2f..f1675cb1 100644 --- a/src/gui/char_select.h +++ b/src/gui/char_select.h @@ -51,6 +51,16 @@ class CharSelectDialog : public Window, public gcn::ActionListener { PlayerBox *playerBox; + /** + * Communicate character deletion to the server. + */ + void serverCharDelete(); + + /** + * Communicate character selection to the server. + */ + void serverCharSelect(); + public: /** * Constructor. @@ -97,7 +107,7 @@ class CharCreateDialog : public Window, public gcn::ActionListener { /** * Constructor. */ - CharCreateDialog(); + CharCreateDialog(Window *parent = NULL); /** * Destructor. @@ -110,9 +120,5 @@ class CharCreateDialog : public Window, public gcn::ActionListener { }; void charSelect(); -void serverCharSelect(); - -void charCreate(); -void serverCharDelete(); #endif |