summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-01 17:48:11 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-01 17:48:11 +0300
commit6b15e62c1fefe8838bbc56cb314f3ab24ccebbc4 (patch)
treed158a975756cdd5983632af8ff34229dbb9007d9 /src/net
parent41d9ca028de0740fd23a3dabaece8d1fd1bf93c1 (diff)
downloadmanaverse-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/net')
-rw-r--r--src/net/download.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/net/download.h b/src/net/download.h
index c4cd8bbca..ed7c2580d 100644
--- a/src/net/download.h
+++ b/src/net/download.h
@@ -29,8 +29,10 @@
#include "localconsts.h"
-typedef int (*DownloadUpdate)(void *ptr, DownloadStatus::Type status,
- size_t total, size_t remaining);
+typedef int (*DownloadUpdate)(void *ptr,
+ DownloadStatusT status,
+ size_t total,
+ size_t remaining);
// Matches what CURL expects
typedef size_t (*WriteFunction)( void *ptr, size_t size, size_t nmemb,