|
virtual ZyppStatus | getPackageStatus (ZyppSel slbPtr, ZyppObj objPtr) |
|
virtual bool | setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr) |
|
virtual bool | anyMultiVersionToInstall (ZyppSel slbPtr, bool multiversion) const |
|
virtual bool | mixedMultiVersionPopup (bool multiversion) const |
|
virtual ZyppStatus | getPackageStatus (ZyppSel slbPtr, ZyppObj objPtr) |
|
virtual bool | setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr) |
|
virtual bool | keyToStatus (const int &key, ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat) |
|
virtual bool | cycleStatus (ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat_ret) |
|
void | solveResolvableCollections () |
|
◆ anyMultiVersionToInstall()
bool MultiVersionStatStrategy::anyMultiVersionToInstall |
( |
ZyppSel |
slbPtr, |
|
|
bool |
multiversion |
|
) |
| const |
|
virtual |
Check if any package version is marked for installation where its 'multiversion' flag is set to 'multiversion'.
- Parameters
-
slbPtr | The selectable whose status has to be calculated. |
multiversion | Check for multiversion or non-multiversion packages. |
- Returns
- bool
◆ getPackageStatus()
ZyppStatus MultiVersionStatStrategy::getPackageStatus |
( |
ZyppSel |
slbPtr, |
|
|
ZyppObj |
objPtr |
|
) |
| |
|
virtual |
Gets the status information from the package manager.
- Parameters
-
slbPtr | The package whose status to calculate. |
- Returns
- UI_Status The new status of the given package
Reimplemented from NCPkgStatusStrategy.
◆ mixedMultiVersionPopup()
bool MultiVersionStatStrategy::mixedMultiVersionPopup |
( |
bool |
multiversion | ) |
const |
|
virtual |
Ask user if he really wants to install incompatible package versions.
- Parameters
-
multiversion | Selected package is a multiversion package. |
- Returns
- bool Return 'true' if he hits [Continue], 'false' if [Cancel].
◆ setObjectStatus()
bool MultiVersionStatStrategy::setObjectStatus |
( |
ZyppStatus |
newstatus, |
|
|
ZyppSel |
slbPtr, |
|
|
ZyppObj |
objPtr |
|
) |
| |
|
virtual |
Informs the package manager about the new status and additionally sets the candidate object to the user chosen object.
- Parameters
-
newStatus | The new package status |
slbPtr | The package pointer |
pkgPtr | The object pointer (used for candidate selection) |
- Returns
- bool
Reimplemented from NCPkgStatusStrategy.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.0/libyui-ncurses-pkg/src/NCPkgStatusStrategy.h
- /builddir/build/BUILD/libyui-4.6.0/libyui-ncurses-pkg/src/NCPkgStatusStrategy.cc