Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOManifestProperties.h
Go to the documentation of this file.
1/*
2
3OOManifestProperties.h
4
5The property keys used in manifest.plist entries
6
7Oolite
8Copyright (C) 2004-2013 Giles C Williams and contributors
9
10This program is free software; you can redistribute it and/or
11modify it under the terms of the GNU General Public License
12as published by the Free Software Foundation; either version 2
13of the License, or (at your option) any later version.
14
15This program is distributed in the hope that it will be useful,
16but WITHOUT ANY WARRANTY; without even the implied warranty of
17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18GNU General Public License for more details.
19
20You should have received a copy of the GNU General Public License
21along with this program; if not, write to the Free Software
22Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
23MA 02110-1301, USA.
24
25*/
26
27
28static NSString * const kOOManifestIdentifier = @"identifier";
29static NSString * const kOOManifestVersion = @"version";
30static NSString * const kOOManifestRequiredOoliteVersion= @"required_oolite_version";
31static NSString * const kOOManifestMaximumOoliteVersion = @"maximum_oolite_version";
32static NSString * const kOOManifestTitle = @"title";
33static NSString * const kOOManifestRequiresOXPs = @"requires_oxps";
34static NSString * const kOOManifestConflictOXPs = @"conflict_oxps";
35static NSString * const kOOManifestDescription = @"description";
36static NSString * const kOOManifestCategory = @"category";
37static NSString * const kOOManifestDownloadURL = @"download_url";
38static NSString * const kOOManifestFileSize = @"file_size";
39static NSString * const kOOManifestInformationURL = @"information_url";
40static NSString * const kOOManifestAuthor = @"author";
41static NSString * const kOOManifestLicense = @"license";
42static NSString * const kOOManifestTags = @"tags";
43/* these properties are not contained in the manifest.plist (and would be
44 overwritten if they were...) but are calculated by Oolite */
45static NSString * const kOOManifestFilePath = @"file_path";
46static NSString * const kOOManifestRequiredBy = @"required_by";
47static NSString * const kOOManifestAvailableVersion = @"available_version";
48/* these properties are not contained in the manifest.plist but are
49 * provided by in the manifest*s* list by the API */
50static NSString * const kOOManifestUploadDate = @"upload_date";
51// following manifest.plist properties not (yet?) used by Oolite
52// but may be used by other manifest reading applications
53#if 0
54static NSString * const kOOManifestOptionalOXPs = @"optional_oxps";
55#endif
56
57// properties for within requires/optional/conflicts entries
58static NSString * const kOOManifestRelationIdentifier = @"identifier";
59static NSString * const kOOManifestRelationVersion = @"version";
60static NSString * const kOOManifestRelationMaxVersion = @"maximum_version";
61static NSString * const kOOManifestRelationDescription = @"description";
62
63// 'magic' value for a tag to exclude an OXP from loading except when
64// required by a scenario
65static NSString * const kOOManifestTagScenarioOnly = @"oolite-scenario-only";
static NSString *const kOOManifestAvailableVersion
static NSString *const kOOManifestRelationIdentifier
static NSString *const kOOManifestTags
static NSString *const kOOManifestCategory
static NSString *const kOOManifestLicense
static NSString *const kOOManifestRequiredOoliteVersion
static NSString *const kOOManifestTitle
static NSString *const kOOManifestConflictOXPs
static NSString *const kOOManifestInformationURL
static NSString *const kOOManifestDownloadURL
static NSString *const kOOManifestMaximumOoliteVersion
static NSString *const kOOManifestTagScenarioOnly
static NSString *const kOOManifestDescription
static NSString *const kOOManifestRequiresOXPs
static NSString *const kOOManifestIdentifier
static NSString *const kOOManifestFileSize
static NSString *const kOOManifestRelationDescription
static NSString *const kOOManifestUploadDate
static NSString *const kOOManifestVersion
static NSString *const kOOManifestRequiredBy
static NSString *const kOOManifestFilePath
static NSString *const kOOManifestRelationVersion
static NSString *const kOOManifestRelationMaxVersion
static NSString *const kOOManifestAuthor