6 #ifndef LIBPKG_BINARY_CONTROL 7 #define LIBPKG_BINARY_CONTROL 43 virtual int priority(
const string& value)
const;
A class to represent the enviroment a package is designed for.
Definition: env_checker.h:91
The namespace used to hold the package management library.
Definition: auto_dir.cc:12
virtual int priority(const string &value) const
Get priority.
Definition: binary_control.cc:49
pkg_env * _environment
Definition: binary_control.h:44
binary_control()
Construct binary control file.
Definition: binary_control.cc:41
A class to represent the content of a RiscPkg control file.
Definition: control.h:24
virtual ~binary_control()
Destroy binary control file.
Definition: binary_control.cc:46
std::string environment_id() const
Definition: binary_control.cc:56
int _install_priority
Definition: binary_control.h:45
int install_priority() const
Get package install priority or use environment default install priority if 0 or unset.
Definition: binary_control.cc:70
A class to represent the content of a RiscPkg binary control file.
Definition: binary_control.h:24
const pkg_env * package_env() const
Definition: binary_control.cc:61