Cupt
releaseinfo.hpp
Go to the documentation of this file.
1 /**************************************************************************
2 * Copyright (C) 2010 by Eugene V. Lyubimkin *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License *
6 * (version 3 or above) as published by the Free Software Foundation. *
7 * *
8 * This program is distributed in the hope that it will be useful, *
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
11 * GNU General Public License for more details. *
12 * *
13 * You should have received a copy of the GNU GPL *
14 * along with this program; if not, write to the *
15 * Free Software Foundation, Inc., *
16 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA *
17 **************************************************************************/
18 #ifndef CUPT_CACHE_RELEASE_INFO_SEEN
19 #define CUPT_CACHE_RELEASE_INFO_SEEN
20 
22 
23 #include <cupt/common.hpp>
24 
25 namespace cupt {
27 namespace cache {
28 
30 struct CUPT_API ReleaseInfo
31 {
32  bool verified;
33  string version;
34  string description;
35  string vendor;
36  string label;
37  string archive;
38  string codename;
39  string component;
40  string date;
41  string validUntilDate;
42  vector< string> architectures;
43  string baseUri;
44  bool notAutomatic;
46 };
47 
48 }
49 }
50 
51 #endif
52 
cupt::cache::ReleaseInfo::architectures
vector< string > architectures
list of architectures applicable
Definition: releaseinfo.hpp:42
common.hpp
cupt::cache::ReleaseInfo::verified
bool verified
true, if information is signed and a signature is verified
Definition: releaseinfo.hpp:32
cupt::cache::ReleaseInfo::codename
string codename
release code name, may be empty
Definition: releaseinfo.hpp:38
cupt::cache::ReleaseInfo
release information
Definition: releaseinfo.hpp:30
cupt::cache::ReleaseInfo::date
string date
creation date, may be empty
Definition: releaseinfo.hpp:40
cupt::cache::ReleaseInfo::component
string component
component name, may be empty
Definition: releaseinfo.hpp:39
cupt::cache::ReleaseInfo::vendor
string vendor
vendor name, may be empty
Definition: releaseinfo.hpp:35
cupt::cache::ReleaseInfo::archive
string archive
archive name, may be empty
Definition: releaseinfo.hpp:37
cupt::cache::ReleaseInfo::description
string description
distribution description, may be empty
Definition: releaseinfo.hpp:34
cupt::cache::ReleaseInfo::version
string version
distribution version, may be empty
Definition: releaseinfo.hpp:33
cupt::cache::ReleaseInfo::baseUri
string baseUri
source base URI
Definition: releaseinfo.hpp:43
cupt::cache::ReleaseInfo::validUntilDate
string validUntilDate
date of Release file expiry, may be empty
Definition: releaseinfo.hpp:41
cupt::cache::ReleaseInfo::butAutomaticUpgrades
bool butAutomaticUpgrades
true, if ButAutomaticUpgrades flag is specified in Release file
Definition: releaseinfo.hpp:45
cupt::cache::ReleaseInfo::notAutomatic
bool notAutomatic
true, if NotAutomatic flag is specified in Release file
Definition: releaseinfo.hpp:44
cupt::cache::ReleaseInfo::label
string label
human-readable label, may be empty
Definition: releaseinfo.hpp:36