wfut
0.2.4
A client side C++ implementation of WFUT (WorldForge Update Tool).
types.h
1
// This file may be redistributed and modified only under the terms of
2
// the GNU Lesser General Public License (See COPYING for details).
3
// Copyright (C) 2005 - 2007 Simon Goodall
4
5
#ifndef LIBWFUT_TYPES_H
6
#define LIBWFUT_TYPES_H 1
7
8
#include <string>
9
#include <list>
10
#include <map>
11
#include <vector>
12
13
#include <zlib.h>
14
15
namespace
WFUT {
16
17
typedef
struct
{
18
std::string name;
19
std::string description;
20
std::string url;
21
std::string email;
22
std::string logo;
23
}
ChannelObject
;
24
25
typedef
std::list<ChannelObject> ChannelList;
26
27
typedef
struct
{
28
std::string filename;
29
int
version;
30
uLong crc32;
31
long
size;
32
bool
execute;
33
bool
deleted;
34
}
FileObject
;
35
36
typedef
std::list<FileObject> FileList;
37
typedef
std::map<std::string, FileObject> FileMap;
38
39
40
typedef
struct
{
41
std::string name;
42
std::string url;
43
}
MirrorObject
;
44
45
typedef
std::vector<MirrorObject> MirrorList;
46
47
}
// namespace WFUT
48
49
#endif
/* LIBWFUT_TYPES_H */
WFUT::ChannelObject
Definition:
types.h:17
WFUT::FileObject
Definition:
types.h:27
WFUT::MirrorObject
Definition:
types.h:40
src
libwfut
types.h
Generated by
1.9.4