libyui-ncurses-pkg  2.48.5
AvailableStatStrategy Class Reference
Inheritance diagram for AvailableStatStrategy:
Collaboration diagram for AvailableStatStrategy:

Public Member Functions

virtual bool setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr)
 Informs the package manager about the new status and additionally sets the candidate object to the user chosen object. More...
 
- Public Member Functions inherited from NCPkgStatusStrategy
virtual ZyppStatus getPackageStatus (ZyppSel slbPtr, ZyppObj objPtr)
 Gets the status information from the package manager. 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.
 

Detailed Description

Definition at line 243 of file NCPkgStatusStrategy.h.

Member Function Documentation

◆ setObjectStatus()

bool AvailableStatStrategy::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
newStatusThe new package status
slbPtrThe package pointer
pkgPtrThe object pointer (used for candidate selection)
Returns
bool

Reimplemented from NCPkgStatusStrategy.

Definition at line 579 of file NCPkgStatusStrategy.cc.


The documentation for this class was generated from the following files: