diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:48:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-01 17:48:11 +0300 |
commit | 6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4 (patch) | |
tree | d158a975756cdd5983632af8ff34229dbb9007d9 /src/enums/net/downloadstatus.h | |
parent | 41d9ca028de0740fd23a3dabaece8d1fd1bf93c1 (diff) | |
download | ManaVerse-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.gz ManaVerse-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.bz2 ManaVerse-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.tar.xz ManaVerse-6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4.zip |
Convert DownloadStatus enum into strong typed enum.
Diffstat (limited to 'src/enums/net/downloadstatus.h')
-rw-r--r-- | src/enums/net/downloadstatus.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/enums/net/downloadstatus.h b/src/enums/net/downloadstatus.h index a217e7a78..9a4730fba 100644 --- a/src/enums/net/downloadstatus.h +++ b/src/enums/net/downloadstatus.h @@ -22,17 +22,17 @@ #ifndef ENUMS_NET_DOWNLOADSTATUS_H #define ENUMS_NET_DOWNLOADSTATUS_H -namespace DownloadStatus +#include "enums/simpletypes/enumdefines.h" + +enumStart(DownloadStatus) { - enum Type - { - Cancelled = -3, - ThreadError = -2, - Error = -1, - Starting = 0, - Idle = 1, - Complete = 2 - }; -} // namespace DownloadStatus + Cancelled = -3, + ThreadError = -2, + Error = -1, + Starting = 0, + Idle = 1, + Complete = 2 +} +enumEnd(DownloadStatus); #endif // ENUMS_NET_DOWNLOADSTATUS_H |