#include <sbDeviceEventTesterRemoval.h>
Classes | |
struct | ACTION |
Public Types | |
enum | ACTION_TYPE { ACTION_ADDREMOVE, ACTION_SET_FLAG, ACTION_CHECK_FLAG, ACTION_DISPATCH } |
Public Member Functions | |
sbDeviceEventTesterRemovalHelper (const char aName) | |
nsresult | AddAction (ACTION_TYPE aType, PRBool aSet, sbIDeviceEventListener *aListener) |
nsresult | AddAction (ACTION_TYPE aType, PRBool aSet, int aFlag, int aCount) |
nsresult | AddAction (ACTION aAction) |
nsresult | SetFlag (PRUint32 aFlag, PRBool aSet) |
Public Member Functions inherited from sbIDeviceEventListener | |
void | onDeviceEvent (in sbIDeviceEvent aEvent) |
Protected Attributes | |
char | mName |
nsTArray< ACTION > | mActions |
nsDataHashtableMT < nsUint32HashKey, PRBool > | mFlags |
Definition at line 56 of file sbDeviceEventTesterRemoval.h.
Enumerator | |
---|---|
ACTION_ADDREMOVE | |
ACTION_SET_FLAG | |
ACTION_CHECK_FLAG | |
ACTION_DISPATCH |
Definition at line 62 of file sbDeviceEventTesterRemoval.h.
sbDeviceEventTesterRemovalHelper::sbDeviceEventTesterRemovalHelper | ( | const char | aName | ) |
|
inline |
Definition at line 96 of file sbDeviceEventTesterRemoval.h.
|
inline |
Definition at line 100 of file sbDeviceEventTesterRemoval.h.
nsresult sbDeviceEventTesterRemovalHelper::AddAction | ( | ACTION | aAction | ) |
Definition at line 208 of file sbDeviceEventTesterRemoval.cpp.
nsresult sbDeviceEventTesterRemovalHelper::SetFlag | ( | PRUint32 | aFlag, |
PRBool | aSet | ||
) |
Definition at line 213 of file sbDeviceEventTesterRemoval.cpp.
|
protected |
Definition at line 110 of file sbDeviceEventTesterRemoval.h.
|
protected |
Definition at line 111 of file sbDeviceEventTesterRemoval.h.
|
protected |
Definition at line 109 of file sbDeviceEventTesterRemoval.h.