BSolver/LibsolvSolver: Add Uninstall()

Also fix incorrect check in LibsolvSolver::GetResult().
This commit is contained in:
Ingo Weinhold
2013-04-21 12:48:39 +02:00
parent 3ac0de3b1f
commit de62d76176
3 changed files with 109 additions and 27 deletions
+5 -2
View File
@@ -48,8 +48,11 @@ public:
BObjectList<BSolverPackage>& _packages) = 0;
virtual status_t Install(
const BSolverPackageSpecifierList&
packages,
const BSolverPackageSpecifierList& packages,
const BSolverPackageSpecifier** _unmatched
= NULL) = 0;
virtual status_t Uninstall(
const BSolverPackageSpecifierList& packages,
const BSolverPackageSpecifier** _unmatched
= NULL) = 0;
virtual status_t VerifyInstallation() = 0;