9213e9d6a8
The implementation is temporary. Currently it reads through the packages in the respective packages directory and checks against the package links. Once package activation is tracked explicitly we'll use the activation file/directory.
25 lines
457 B
C++
25 lines
457 B
C++
/*
|
|
* Copyright 2011, Haiku, Inc.
|
|
* Distributed under the terms of the MIT License.
|
|
*/
|
|
#ifndef _PACKAGE__PACKAGE_DEFS_H_
|
|
#define _PACKAGE__PACKAGE_DEFS_H_
|
|
|
|
|
|
namespace BPackageKit {
|
|
|
|
|
|
enum BPackageInstallationLocation {
|
|
B_PACKAGE_INSTALLATION_LOCATION_SYSTEM,
|
|
B_PACKAGE_INSTALLATION_LOCATION_COMMON,
|
|
B_PACKAGE_INSTALLATION_LOCATION_HOME,
|
|
|
|
B_PACKAGE_INSTALLATION_LOCATION_ENUM_COUNT
|
|
};
|
|
|
|
|
|
} // namespace BPackageKit
|
|
|
|
|
|
#endif // _PACKAGE__PACKAGE_DEFS_H_
|