libyui-ncurses-pkg  2.43.4.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)
 
virtual bool setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr)
 
- Public Member Functions inherited from NCPkgStatusStrategy
virtual bool keyToStatus (const int &key, ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat)
 
virtual bool toggleStatus (ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat)
 
void solveResolvableCollections ()
 

Detailed Description

Definition at line 270 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 657 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 676 of file NCPkgStatusStrategy.cc.


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