ScummVM API documentation
dlcdesc.h
1 /* ScummVM - Graphic Adventure Engine
2  *
3  * ScummVM is the legal property of its developers, whose names
4  * are too numerous to list here. Please refer to the COPYRIGHT
5  * file distributed with this source distribution.
6  *
7  * This program is free software: you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation, either version 3 of the License, or
10  * (at your option) any later version.
11  *
12  * This program is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with this program. If not, see <http://www.gnu.org/licenses/>.
19  *
20  */
21 
22 #ifndef BACKENDS_DLC_DLCDESC_H
23 #define BACKENDS_DLC_DLCDESC_H
24 
25 #include "common/str.h"
26 
27 namespace DLC {
28 
29 struct DLCDesc {
30 
31 public:
32  enum State {
33  kAvailable,
34  kInProgress,
35  kDownloaded,
36  kCancelled,
37  kErrorDownloading
38  };
39  Common::String name;
40  Common::String id;
41  Common::String url;
42  Common::String platform;
43  Common::String gameid;
44  Common::String description;
45  Common::String language;
46  Common::String extra;
47  Common::String engineid;
48  Common::String guioptions;
49  uint32 size = 0;
50  uint32 idx = 0;
51  State state = State::kAvailable;
52 };
53 
54 
55 } // End of namespace DLC
56 
57 #endif
Definition: system.h:51
Definition: str.h:59
Definition: dlcdesc.h:29