diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-26 21:29:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-26 21:29:59 +0300 |
commit | a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709 (patch) | |
tree | 1b1e98a615e2c03641c99b66cb4667b56f7087c3 /src/gui/charcreatedialog.h | |
parent | 012a10fd8153f3ddb775dde1e4dba4456f2aa9de (diff) | |
download | manaplus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.gz manaplus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.bz2 manaplus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.tar.xz manaplus-a33a8dc48761d7cb2b4c1c468e1e3b188bcbf709.zip |
Add const to some classes.
Diffstat (limited to 'src/gui/charcreatedialog.h')
-rw-r--r-- | src/gui/charcreatedialog.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/charcreatedialog.h b/src/gui/charcreatedialog.h index c0c1f113a..048363452 100644 --- a/src/gui/charcreatedialog.h +++ b/src/gui/charcreatedialog.h @@ -54,7 +54,7 @@ class CharCreateDialog : public Window, /** * Constructor. */ - CharCreateDialog(CharSelectDialog *parent, int slot); + CharCreateDialog(CharSelectDialog *const parent, const int slot); /** * Destructor. @@ -69,10 +69,11 @@ class CharCreateDialog : public Window, void unlock(); void setAttributes(const StringVect &labels, - int available, - int min, int max); + const int available, + const int min, const int max); - void setFixedGender(bool fixed, Gender gender = GENDER_FEMALE); + void setFixedGender(const bool fixed, + const Gender gender = GENDER_FEMALE); void logic(); |