libyui-ncurses-pkg  2.46.1
 All Classes Functions
MultiVersionStatStrategy Class Reference
Inheritance diagram for MultiVersionStatStrategy:
Collaboration diagram for MultiVersionStatStrategy:

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 and additionally sets the candidate object to the user chosen object. More...
 
- Public Member Functions inherited from NCPkgStatusStrategy
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 267 of file NCPkgStatusStrategy.h.

Member Function Documentation

ZyppStatus MultiVersionStatStrategy::getPackageStatus ( ZyppSel  slbPtr,
ZyppObj  objPtr 
)
virtual

Gets the status information from the package manager.

Parameters
slbPtrThe package whose status to calculate.
Returns
UI_Status The new status of the given package

Reimplemented from NCPkgStatusStrategy.

Definition at line 663 of file NCPkgStatusStrategy.cc.

bool MultiVersionStatStrategy::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 682 of file NCPkgStatusStrategy.cc.


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