d77c6cd26a
to create a package that refers to a license that is not a system license or contained in the package * added package-info flags (currently only approve_license and system_package) * adjusted package-reader/writer and pkgman accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40393 a95241bf-73f2-0310-859d-f6bbb57e9c96
24 lines
494 B
C++
24 lines
494 B
C++
/*
|
|
* Copyright 2011, Haiku, Inc.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _PACKAGE__PACKAGE_FLAGS_H_
|
|
#define _PACKAGE__PACKAGE_FLAGS_H_
|
|
|
|
|
|
namespace BPackageKit {
|
|
|
|
|
|
enum {
|
|
B_PACKAGE_FLAG_APPROVE_LICENSE = 1ul << 0,
|
|
// will trigger display and approval of license before installation
|
|
B_PACKAGE_FLAG_SYSTEM_PACKAGE = 1ul << 1,
|
|
// marks package as system package (i.e. belonging into /boot/system)
|
|
};
|
|
|
|
|
|
} // namespace BPackageKit
|
|
|
|
|
|
#endif // _PACKAGE__PACKAGE_FLAGS_H_
|