libyui-ncurses-pkg
2.43.4.1
|
Public Member Functions | |
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 | toggleStatus (ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat) |
void | solveResolvableCollections () |
Definition at line 53 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 79 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 123 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 99 of file NCPkgStatusStrategy.cc.
void NCPkgStatusStrategy::solveResolvableCollections | ( | ) |
Do a "small" solver run for all "resolvable collections", i.e., for selections, patterns, languages, patches.
Definition at line 308 of file NCPkgStatusStrategy.cc.
|
virtual |
Toggles the package status (e.g. from installed to delete)
The | object pointer |
Definition at line 230 of file NCPkgStatusStrategy.cc.