summaryrefslogtreecommitdiff
path: root/src/gui/char_select.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-11 16:15:10 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-11 16:15:10 +0000
commitcaeba363798727f75972ce6b8625fd9754bee903 (patch)
tree619fbff5801278d5b4f98413e354ea73a87f34bc /src/gui/char_select.h
parent24bf86763cdba47e9a88124a3394882667169185 (diff)
downloadMana-caeba363798727f75972ce6b8625fd9754bee903.tar.gz
Mana-caeba363798727f75972ce6b8625fd9754bee903.tar.bz2
Mana-caeba363798727f75972ce6b8625fd9754bee903.tar.xz
Mana-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.h16
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