summaryrefslogtreecommitdiff
path: root/src/net/charserverhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:19:59 +0300
commita9f6959a96395edc64ff57bf5ba1d75cca8e86c3 (patch)
treef6975bea7e87380ee7d063ccfb2efbc835341c91 /src/net/charserverhandler.h
parent3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 (diff)
downloadManaVerse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.gz
ManaVerse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.bz2
ManaVerse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.tar.xz
ManaVerse-a9f6959a96395edc64ff57bf5ba1d75cca8e86c3.zip
Add missing const in net directory.
Diffstat (limited to 'src/net/charserverhandler.h')
-rw-r--r--src/net/charserverhandler.h20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/net/charserverhandler.h b/src/net/charserverhandler.h
index e43b5bfae..c053eff81 100644
--- a/src/net/charserverhandler.h
+++ b/src/net/charserverhandler.h
@@ -43,13 +43,16 @@ class CharServerHandler notfinal
virtual ~CharServerHandler()
{ }
- virtual void setCharSelectDialog(CharSelectDialog *const window) = 0;
+ virtual void setCharSelectDialog(CharSelectDialog *const window)
+ const = 0;
- virtual void setCharCreateDialog(CharCreateDialog *const window) = 0;
+ virtual void setCharCreateDialog(CharCreateDialog *const window)
+ const = 0;
virtual void requestCharacters() = 0;
- virtual void chooseCharacter(Net::Character *const character) = 0;
+ virtual void chooseCharacter(Net::Character *const character)
+ const = 0;
virtual void newCharacter(const std::string &name,
const int slot,
@@ -61,10 +64,10 @@ class CharServerHandler notfinal
const std::vector<int> &stats) const = 0;
virtual void deleteCharacter(Net::Character *const character,
- const std::string &email) = 0;
+ const std::string &email) const = 0;
virtual void renameCharacter(const BeingId id,
- const std::string &newName) = 0;
+ const std::string &newName) const = 0;
virtual void switchCharacter() const = 0;
@@ -76,13 +79,14 @@ class CharServerHandler notfinal
virtual unsigned int maxSprite() const A_WARN_UNUSED = 0;
- virtual void clear() = 0;
+ virtual void clear() const = 0;
virtual bool isNeedCreatePin() const = 0;
- virtual void setNewPincode(const std::string &pin) = 0;
+ virtual void setNewPincode(const std::string &pin) const = 0;
- virtual void changeSlot(const int oldSlot, const int newSlot) = 0;
+ virtual void changeSlot(const int oldSlot,
+ const int newSlot) const = 0;
virtual void ping() const = 0;