diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-20 18:28:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-20 18:28:49 +0300 |
commit | 2f879820ee0e07b94a7c8189b8b7ab0720c3e208 (patch) | |
tree | 0d9c1a55cfb304c5e3fa5ea81b0202cb0e7f307d /src/net/partyhandler.h | |
parent | d4b88a7ebce6222c34928c49925f972515593e89 (diff) | |
download | manaplus-2f879820ee0e07b94a7c8189b8b7ab0720c3e208.tar.gz manaplus-2f879820ee0e07b94a7c8189b8b7ab0720c3e208.tar.bz2 manaplus-2f879820ee0e07b94a7c8189b8b7ab0720c3e208.tar.xz manaplus-2f879820ee0e07b94a7c8189b8b7ab0720c3e208.zip |
Move partyshare into separate file.
Diffstat (limited to 'src/net/partyhandler.h')
-rw-r--r-- | src/net/partyhandler.h | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/net/partyhandler.h b/src/net/partyhandler.h index 4a4e8ec82..a582ba9d0 100644 --- a/src/net/partyhandler.h +++ b/src/net/partyhandler.h @@ -27,18 +27,12 @@ #include "gui/widgets/tabs/chattab.h" +#include "net/partyshare.h" + #include <string> class Being; -enum PartyShare -{ - PARTY_SHARE_UNKNOWN = -1, - PARTY_SHARE_NO, - PARTY_SHARE, - PARTY_SHARE_NOT_POSSIBLE = 2 -}; - namespace Net { @@ -67,13 +61,13 @@ class PartyHandler virtual void chat(const std::string &text) const = 0; - virtual PartyShare getShareExperience() const A_WARN_UNUSED = 0; + virtual Net::PartyShare getShareExperience() const A_WARN_UNUSED = 0; - virtual void setShareExperience(const PartyShare share) const = 0; + virtual void setShareExperience(const Net::PartyShare share) const = 0; - virtual PartyShare getShareItems() const A_WARN_UNUSED = 0; + virtual Net::PartyShare getShareItems() const A_WARN_UNUSED = 0; - virtual void setShareItems(const PartyShare share) const = 0; + virtual void setShareItems(const Net::PartyShare share) const = 0; virtual void clear() const = 0; |