#include <sbStatusPropertyValue.h>
Public Types | |
enum | Mode { eNone = 0, eRipping = 1, eComplete = 2, eFailed = 3, eAborted = 4 } |
Public Member Functions | |
sbStatusPropertyValue () | |
sbStatusPropertyValue (const nsAString &aValue) | |
Mode | GetMode () const |
void | SetMode (Mode aMode) |
PRUint32 | GetCurrent () const |
void | SetCurrent (PRUint32 aCurrent) |
nsString | GetValue () const |
Helper class to work with the status property
Definition at line 38 of file sbStatusPropertyValue.h.
Enumerator | |
---|---|
eNone | |
eRipping | |
eComplete | |
eFailed | |
eAborted |
Definition at line 41 of file sbStatusPropertyValue.h.
|
inline |
Default initializer
Definition at line 51 of file sbStatusPropertyValue.h.
|
inline |
Initializes the value from a string
Definition at line 59 of file sbStatusPropertyValue.h.
|
inline |
Returns the current progress value 0 - 100
Definition at line 116 of file sbStatusPropertyValue.h.
|
inline |
Returns the mode of the value
Definition at line 102 of file sbStatusPropertyValue.h.
|
inline |
Returns the property as a string
Definition at line 130 of file sbStatusPropertyValue.h.
|
inline |
Sets the current progress value 0 - 100
Definition at line 123 of file sbStatusPropertyValue.h.
|
inline |
Sets the mode for the value
Definition at line 109 of file sbStatusPropertyValue.h.