#include <ObjectStatStrategy.h>
Inheritance diagram for ObjectStatStrategy:
Public Member Functions | |
ObjectStatStrategy () | |
virtual | ~ObjectStatStrategy ()=0 |
virtual PMSelectable::UI_Status | getPackageStatus (PMObjectPtr objPtr) |
virtual bool | setObjectStatus (PMSelectable::UI_Status newstatus, PMObjectPtr objPtr) |
virtual bool | keyToStatus (const int &key, PMObjectPtr objPtr, PMSelectable::UI_Status &newStat) |
virtual bool | toggleStatus (PMObjectPtr objPtr, PMSelectable::UI_Status &newStat) |
|
|
|
|
|
Gets the status information from the package manager.
Reimplemented in AvailableStatStrategy. |
|
Returns the new status to the given key (respecting the old status of th eobject).
Reimplemented in PatchStatStrategy. |
|
Informs the package manager about the new status.
Reimplemented in PatchPkgStatStrategy, PatchStatStrategy, and AvailableStatStrategy. |
|
Toggles the package status (e.g. from installed to delete)
Reimplemented in PatchStatStrategy. |