Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

AvailableStatStrategy Class Reference

#include <ObjectStatStrategy.h>

Inheritance diagram for AvailableStatStrategy:

ObjectStatStrategy List of all members.

Public Member Functions

 AvailableStatStrategy ()
virtual ~AvailableStatStrategy ()
virtual PMSelectable::UI_Status getPackageStatus (PMObjectPtr objPtr)
virtual bool setObjectStatus (PMSelectable::UI_Status newstatus, PMObjectPtr objPtr)

Constructor & Destructor Documentation

AvailableStatStrategy::AvailableStatStrategy  ) 
 

virtual AvailableStatStrategy::~AvailableStatStrategy  )  [inline, virtual]
 


Member Function Documentation

PMSelectable::UI_Status AvailableStatStrategy::getPackageStatus PMObjectPtr  objPtr  )  [virtual]
 

Gets the status information from the package manager - and returns the status for a certain package.

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

Reimplemented from ObjectStatStrategy.

bool AvailableStatStrategy::setObjectStatus PMSelectable::UI_Status  newstatus,
PMObjectPtr  objPtr
[virtual]
 

Informs the package manager about the new status and additionally sets the candidate object to the user chosen object.

Parameters:
newStatus The new package status
objPtr The package pointer
Returns:
bool

Reimplemented from ObjectStatStrategy.


The documentation for this class was generated from the following files:
Generated on Wed Nov 12 04:52:33 2008 for yast2-ncurses by  doxygen 1.3.9.1