libyui-ncurses-pkg  2.43.4.1
 All Classes Functions
PatchStatStrategy Class Reference
Inheritance diagram for PatchStatStrategy:
Collaboration diagram for PatchStatStrategy:

Public Member Functions

virtual bool keyToStatus (const int &key, ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat)
 
virtual bool setObjectStatus (ZyppStatus newstatus, ZyppSel slbPtr, ZyppObj objPtr)
 
- Public Member Functions inherited from NCPkgStatusStrategy
virtual ZyppStatus getPackageStatus (ZyppSel slbPtr, ZyppObj objPtr)
 
virtual bool toggleStatus (ZyppSel slbPtr, ZyppObj objPtr, ZyppStatus &newStat)
 
void solveResolvableCollections ()
 

Detailed Description

Definition at line 200 of file NCPkgStatusStrategy.h.

Member Function Documentation

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
keyThe userinput (the key which is pressed)
slbPtrThe object pointer (the patch pointer)
newStatusThe new package status
Returns
bool

Reimplemented from NCPkgStatusStrategy.

Definition at line 350 of file NCPkgStatusStrategy.cc.

Here is the call graph for this function:

bool PatchStatStrategy::setObjectStatus ( ZyppStatus  newstatus,
ZyppSel  slbPtr,
ZyppObj  objPtr 
)
virtual

Sets the status of the patch AND the status of the patch packages

Parameters
newStatusThe new package status
slbPtrThe object pointer (e.g. a package pointer)
Returns
bool

Reimplemented from NCPkgStatusStrategy.

Definition at line 482 of file NCPkgStatusStrategy.cc.

Here is the call graph for this function:


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