ManaPlus
src
enums
net
downloadstatus.h
Go to the documentation of this file.
1
/*
2
* The ManaPlus Client
3
* Copyright (C) 2009-2010 The Mana Developers
4
* Copyright (C) 2011-2019 The ManaPlus Developers
5
* Copyright (C) 2019-2021 Andrei Karas
6
*
7
* This file is part of The ManaPlus Client.
8
*
9
* This program is free software; you can redistribute it and/or modify
10
* it under the terms of the GNU General Public License as published by
11
* the Free Software Foundation; either version 2 of the License, or
12
* any later version.
13
*
14
* This program is distributed in the hope that it will be useful,
15
* but WITHOUT ANY WARRANTY; without even the implied warranty of
16
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17
* GNU General Public License for more details.
18
*
19
* You should have received a copy of the GNU General Public License
20
* along with this program. If not, see <http://www.gnu.org/licenses/>.
21
*/
22
23
#ifndef ENUMS_NET_DOWNLOADSTATUS_H
24
#define ENUMS_NET_DOWNLOADSTATUS_H
25
26
#include "
enums/simpletypes/enumdefines.h
"
27
28
enumStart
(
DownloadStatus
)
29
{
30
Cancelled
= -3,
31
ThreadError
= -2,
32
Error
= -1,
33
Starting
= 0,
34
Idle
= 1,
35
Complete
= 2
36
}
37
enumEnd
(
DownloadStatus
);
38
39
#endif
// ENUMS_NET_DOWNLOADSTATUS_H
enumdefines.h
enumStart
#define enumStart(name)
Definition:
enumdefines.h:36
enumEnd
#define enumEnd(name)
Definition:
enumdefines.h:46
DownloadStatus
Definition:
downloadstatus.h:28
DownloadStatus::Complete
@ Complete
Definition:
downloadstatus.h:35
DownloadStatus::Cancelled
@ Cancelled
Definition:
downloadstatus.h:30
DownloadStatus::Idle
@ Idle
Definition:
downloadstatus.h:34
DownloadStatus::ThreadError
@ ThreadError
Definition:
downloadstatus.h:31
DownloadStatus::Error
@ Error
Definition:
downloadstatus.h:32
DownloadStatus::Starting
@ Starting
Definition:
downloadstatus.h:33
Generated on Wed Mar 17 2021 19:19:05 for ManaPlus by
1.9.1