summaryrefslogtreecommitdiff
path: root/src/enums/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/enums/net')
-rw-r--r--src/enums/net/downloadstatus.h22
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