diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-03 14:31:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-03 14:31:43 +0300 |
commit | b643a5c48d53dbeca7672e3c8b5182f9d698abcb (patch) | |
tree | ab596dc9a0c573764c1e0b427f22303faa1bfec1 /src/net/partyhandler.h | |
parent | 6281c1281fe85a1c75155df44c99aa843561a4f2 (diff) | |
download | mv-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.gz mv-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.bz2 mv-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.xz mv-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.zip |
Convert PacketShare enum into strong typed enum.
Diffstat (limited to 'src/net/partyhandler.h')
-rw-r--r-- | src/net/partyhandler.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h index 2d148d247..f93f07b44 100644 --- a/src/net/partyhandler.h +++ b/src/net/partyhandler.h @@ -54,16 +54,13 @@ class PartyHandler notfinal virtual void chat(const std::string &text) const = 0; - virtual Net::PartyShare::Type getShareExperience() - const A_WARN_UNUSED = 0; + virtual PartyShareT getShareExperience() const A_WARN_UNUSED = 0; - virtual void setShareExperience(const Net::PartyShare::Type - share) const = 0; + virtual void setShareExperience(const PartyShareT share) const = 0; - virtual Net::PartyShare::Type getShareItems() const A_WARN_UNUSED = 0; + virtual PartyShareT getShareItems() const A_WARN_UNUSED = 0; - virtual void setShareItems(const Net::PartyShare::Type - share) const = 0; + virtual void setShareItems(const PartyShareT share) const = 0; virtual void changeLeader(const std::string &name) const = 0; |