xref: /haiku/headers/os/package/PackageInfoAttributes.h (revision 7de6af25e9ee8c0279dcf9dcebb241c398f23fae)
1 /*
2  * Copyright 2011, Haiku, Inc.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _PACKAGE__PACKAGE_INFO_ATTRIBUTES_H_
6 #define _PACKAGE__PACKAGE_INFO_ATTRIBUTES_H_
7 
8 
9 namespace BPackageKit {
10 
11 
12 enum BPackageInfoAttributeID {
13 	B_PACKAGE_INFO_NAME = 0,
14 	B_PACKAGE_INFO_SUMMARY,		// single line
15 	B_PACKAGE_INFO_DESCRIPTION,	// multiple lines possible
16 	B_PACKAGE_INFO_VENDOR,		// e.g. "Haiku Project"
17 	B_PACKAGE_INFO_PACKAGER,	// e-mail address preferred
18 	B_PACKAGE_INFO_ARCHITECTURE,
19 	B_PACKAGE_INFO_VERSION,		// <major>[.<minor>[.<micro>]][-<pre>]-<release>
20 	B_PACKAGE_INFO_COPYRIGHTS,	// list
21 	B_PACKAGE_INFO_LICENSES,	// list
22 	B_PACKAGE_INFO_PROVIDES,	// list of resolvables this package provides,
23 								// each optionally giving a version
24 	B_PACKAGE_INFO_REQUIRES,	// list of resolvables required by this package,
25 								// each optionally specifying a version relation
26 								// (e.g. libssl.so >= 0.9.8)
27 	B_PACKAGE_INFO_SUPPLEMENTS,	// list of resolvables that are supplemented
28 								// by this package, i.e. this package marks
29 								// itself as an extension to other packages
30 	B_PACKAGE_INFO_CONFLICTS,	// list of resolvables that inhibit installation
31 								// of this package
32 	B_PACKAGE_INFO_FRESHENS,	// list of resolvables that this package
33 								// contains a patch for
34 	B_PACKAGE_INFO_REPLACES,	// list of resolvables that this package
35 								// will replace (upon update)
36 	B_PACKAGE_INFO_FLAGS,
37 	B_PACKAGE_INFO_URLS,		// list
38 	B_PACKAGE_INFO_SOURCE_URLS,	// list
39 	B_PACKAGE_INFO_CHECKSUM,	// sha256-checksum
40 	B_PACKAGE_INFO_INSTALL_PATH, // package install path; only for package
41 								// building
42 	//
43 	B_PACKAGE_INFO_ENUM_COUNT,
44 };
45 
46 
47 }	// namespace BPackageKit
48 
49 
50 #endif	// _PACKAGE__PACKAGE_INFO_ATTRIBUTES_H_
51