|
virtual bool | keyToStatus (const int &key, ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat) |
|
virtual bool | cycleStatus (ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat_ret) |
|
virtual bool | setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr) |
|
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 () |
|
◆ cycleStatus()
bool PatchStatStrategy::cycleStatus |
( |
ZyppSel |
slbPtr, |
|
|
ZyppObj |
objPtr, |
|
|
ZyppStatus & |
newStat_ret |
|
) |
| |
|
virtual |
Cycle the patch status (e.g. from selected to unselected)
Reimplemented from NCPkgStatusStrategy.
◆ keyToStatus()
bool PatchStatStrategy::keyToStatus |
( |
const int & |
key, |
|
|
ZyppSel |
slbPtr, |
|
|
ZyppObj |
objPtr, |
|
|
ZyppStatus & |
newStat |
|
) |
| |
|
virtual |
Returns the new status to the given key (respecting the old status of the patch).
- Parameters
-
key | The userinput (the key which is pressed) |
slbPtr | The object pointer (the patch pointer) |
newStatus | The new package status |
- Returns
- bool
Reimplemented from NCPkgStatusStrategy.
◆ setObjectStatus()
bool PatchStatStrategy::setObjectStatus |
( |
ZyppStatus |
newstatus, |
|
|
ZyppSel |
slbPtr, |
|
|
ZyppObj |
objPtr |
|
) |
| |
|
virtual |
Sets the status of the patch AND the status of the patch packages
- Parameters
-
newStatus | The new package status |
slbPtr | The object pointer (e.g. a package pointer) |
- 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