◆ cycleStatus()
bool NCPkgStatusStrategy::cycleStatus |
( |
ZyppSel | slbPtr, |
|
|
ZyppObj | objPtr, |
|
|
ZyppStatus & | newStat_ret ) |
|
virtual |
Cyle the package status (e.g. from installed to delete)
Reimplemented in PatchStatStrategy.
◆ getPackageStatus()
ZyppStatus NCPkgStatusStrategy::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 in MultiVersionStatStrategy.
◆ keyToStatus()
bool NCPkgStatusStrategy::keyToStatus |
( |
const int & | key, |
|
|
ZyppSel | slbPtr, |
|
|
ZyppObj | objPtr, |
|
|
ZyppStatus & | newStat ) |
|
virtual |
Returns the new status to the given key (respecting the old status of th eobject).
- Parameters
-
key | The userinput (the key which is pressed) |
slbPtr | The object pointer (e.g. a package pointer) |
newStatus | The new package status |
- Returns
- bool
Reimplemented in PatchStatStrategy.
◆ setObjectStatus()
bool NCPkgStatusStrategy::setObjectStatus |
( |
ZyppStatus | newstatus, |
|
|
ZyppSel | slbPtr, |
|
|
ZyppObj | objPtr ) |
|
virtual |
◆ solveResolvableCollections()
void NCPkgStatusStrategy::solveResolvableCollections |
( |
| ) |
|
Do a "small" solver run for all "resolvable collections", i.e., for selections, patterns, languages, patches.
The documentation for this class was generated from the following files:
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-ncurses-pkg/src/NCPkgStatusStrategy.h
- /builddir/build/BUILD/libyui-4.6.2-build/libyui-4.6.2/libyui-ncurses-pkg/src/NCPkgStatusStrategy.cc