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
25namespace cupt {
27namespace cache {
28
30struct 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;
42 vector< string> architectures;
43 string baseUri;
46};
47
48}
49}
50
51#endif
52
release information
Definition releaseinfo.hpp:31
string label
human-readable label, may be empty
Definition releaseinfo.hpp:36
vector< string > architectures
list of architectures applicable
Definition releaseinfo.hpp:42
bool butAutomaticUpgrades
true, if ButAutomaticUpgrades flag is specified in Release file
Definition releaseinfo.hpp:45
string validUntilDate
date of Release file expiry, may be empty
Definition releaseinfo.hpp:41
string archive
archive name, may be empty
Definition releaseinfo.hpp:37
string description
distribution description, may be empty
Definition releaseinfo.hpp:34
bool notAutomatic
true, if NotAutomatic flag is specified in Release file
Definition releaseinfo.hpp:44
string version
distribution version, may be empty
Definition releaseinfo.hpp:33
string vendor
vendor name, may be empty
Definition releaseinfo.hpp:35
string date
creation date, may be empty
Definition releaseinfo.hpp:40
bool verified
true, if information is signed and a signature is verified
Definition releaseinfo.hpp:32
string baseUri
source base URI
Definition releaseinfo.hpp:43
string codename
release code name, may be empty
Definition releaseinfo.hpp:38
string component
component name, may be empty
Definition releaseinfo.hpp:39