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/enums | |
parent | 6281c1281fe85a1c75155df44c99aa843561a4f2 (diff) | |
download | plus-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.gz plus-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.bz2 plus-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.tar.xz plus-b643a5c48d53dbeca7672e3c8b5182f9d698abcb.zip |
Convert PacketShare enum into strong typed enum.
Diffstat (limited to 'src/enums')
-rw-r--r-- | src/enums/net/partyshare.h | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/src/enums/net/partyshare.h b/src/enums/net/partyshare.h index ad07ecf72..82f55e13d 100644 --- a/src/enums/net/partyshare.h +++ b/src/enums/net/partyshare.h @@ -23,18 +23,15 @@ #ifndef ENUMS_NET_PARTYSHARE_H #define ENUMS_NET_PARTYSHARE_H -namespace Net +#include "enums/simpletypes/enumdefines.h" + +enumStart(PartyShare) { - namespace PartyShare - { - enum Type - { - UNKNOWN = -1, - NO, - YES, - NOT_POSSIBLE = 2 - }; - } -} // namespace Net + UNKNOWN = -1, + NO, + YES, + NOT_POSSIBLE = 2 +} +enumEnd(PartyShare); #endif // ENUMS_NET_PARTYSHARE_H |