17 #ifndef LIBPKG_BINARY_CONTROL 18 #define LIBPKG_BINARY_CONTROL 54 virtual int priority(
const string& value)
const;
A class to represent the enviroment a package is designed for.
Definition: env_checker.h:103
The namespace used to hold the package management library.
Definition: auto_dir.cc:23
virtual int priority(const string &value) const
Get priority.
Definition: binary_control.cc:60
pkg_env * _environment
Definition: binary_control.h:55
binary_control()
Construct binary control file.
Definition: binary_control.cc:52
A class to represent the content of a RiscPkg control file.
Definition: control.h:35
virtual ~binary_control()
Destroy binary control file.
Definition: binary_control.cc:57
std::string environment_id() const
Definition: binary_control.cc:67
int _install_priority
Definition: binary_control.h:56
int install_priority() const
Get package install priority or use environment default install priority if 0 or unset.
Definition: binary_control.cc:81
A class to represent the content of a RiscPkg binary control file.
Definition: binary_control.h:35
const pkg_env * package_env() const
Definition: binary_control.cc:72