sbStatusPropertyValue Class Reference

#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
 

Detailed Description

Helper class to work with the status property

Definition at line 38 of file sbStatusPropertyValue.h.

Member Enumeration Documentation

Enumerator
eNone 
eRipping 
eComplete 
eFailed 
eAborted 

Definition at line 41 of file sbStatusPropertyValue.h.

Constructor & Destructor Documentation

sbStatusPropertyValue::sbStatusPropertyValue ( )
inline

Default initializer

Definition at line 51 of file sbStatusPropertyValue.h.

sbStatusPropertyValue::sbStatusPropertyValue ( const nsAString &  aValue)
inline

Initializes the value from a string

Definition at line 59 of file sbStatusPropertyValue.h.

Member Function Documentation

PRUint32 sbStatusPropertyValue::GetCurrent ( ) const
inline

Returns the current progress value 0 - 100

Definition at line 116 of file sbStatusPropertyValue.h.

Here is the caller graph for this function:

Mode sbStatusPropertyValue::GetMode ( ) const
inline

Returns the mode of the value

Definition at line 102 of file sbStatusPropertyValue.h.

Here is the caller graph for this function:

nsString sbStatusPropertyValue::GetValue ( ) const
inline

Returns the property as a string

Definition at line 130 of file sbStatusPropertyValue.h.

Here is the call graph for this function:

void sbStatusPropertyValue::SetCurrent ( PRUint32  aCurrent)
inline

Sets the current progress value 0 - 100

Definition at line 123 of file sbStatusPropertyValue.h.

void sbStatusPropertyValue::SetMode ( Mode  aMode)
inline

Sets the mode for the value

Definition at line 109 of file sbStatusPropertyValue.h.


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