libyui-ncurses-pkg
2.48.5.2
|
Public Member Functions | |
virtual ZyppStatus | getPackageStatus (ZyppSel slbPtr, ZyppObj objPtr) |
Gets the status information from the package manager. More... | |
virtual bool | setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr) |
Informs the package manager about the new status. More... | |
virtual bool | keyToStatus (const int &key, ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat) |
Returns the new status to the given key (respecting the old status of th eobject). More... | |
virtual bool | toggleStatus (ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat) |
Toggles the package status (e.g. More... | |
void | solveResolvableCollections () |
Do a "small" solver run for all "resolvable collections", i.e., for selections, patterns, languages, patches. | |
Definition at line 52 of file NCPkgStatusStrategy.h.
|
virtual |
Gets the status information from the package manager.
slbPtr | The package whose status to calculate. |
Reimplemented in MultiVersionStatStrategy.
Definition at line 80 of file NCPkgStatusStrategy.cc.
|
virtual |
Returns the new status to the given key (respecting the old status of th eobject).
key | The userinput (the key which is pressed) |
slbPtr | The object pointer (e.g. a package pointer) |
newStatus | The new package status |
Reimplemented in PatchStatStrategy.
Definition at line 124 of file NCPkgStatusStrategy.cc.
|
virtual |
Informs the package manager about the new status.
newStatus | The new package status |
slbPtr | The selectable pointer (e.g. a package pointer) |
pkgPtr | The object pointer (used for candidate selection) |
Reimplemented in MultiVersionStatStrategy, AvailableStatStrategy, PatchStatStrategy, PatchPkgStatStrategy, and SelectionStatStrategy.
Definition at line 100 of file NCPkgStatusStrategy.cc.
|
virtual |
Toggles the package status (e.g.
from installed to delete)
The | object pointer |
Reimplemented in PatchStatStrategy.
Definition at line 231 of file NCPkgStatusStrategy.cc.