#include <sbDeviceEvent.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIDEVICEEVENT nsresult | InitEvent (PRUint32 aType, nsIVariant *aData, nsISupports *aOrigin, PRUint32 aDeviceState, PRUint32 aDeviceSubState) |
virtual void | Dispatch () |
virtual PRBool | WasDispatched () |
virtual nsresult | SetTarget (sbIDeviceEventTarget *aTarget) |
Static Public Member Functions | |
static sbDeviceEvent * | CreateEvent () |
static nsresult | CreateEvent (PRUint32 aType, nsIVariant *aData, nsISupports *aOrigin, PRUint32 aDeviceState, PRUint32 aDeviceSubState, sbIDeviceEvent **_retval) |
Protected Member Functions | |
sbDeviceEvent () | |
~sbDeviceEvent () | |
Protected Attributes | |
PRUint32 | mType |
nsCOMPtr< nsIVariant > | mData |
nsCOMPtr< sbIDeviceEventTarget > | mTarget |
nsCOMPtr< nsISupports > | mOrigin |
PRBool | mWasDispatched |
PRUint32 | mDeviceState |
PRUint32 | mDeviceSubState |
Definition at line 40 of file sbDeviceEvent.h.
|
protected |
|
protected |
Definition at line 54 of file sbDeviceEvent.cpp.
|
static |
|
static |
|
inlinevirtual |
Definition at line 59 of file sbDeviceEvent.h.
nsresult sbDeviceEvent::InitEvent | ( | PRUint32 | aType, |
nsIVariant * | aData, | ||
nsISupports * | aOrigin, | ||
PRUint32 | aDeviceState, | ||
PRUint32 | aDeviceSubState | ||
) |
Definition at line 59 of file sbDeviceEvent.cpp.
|
virtual |
Definition at line 91 of file sbDeviceEvent.cpp.
|
inlinevirtual |
Definition at line 60 of file sbDeviceEvent.h.
|
protected |
Definition at line 75 of file sbDeviceEvent.h.
|
protected |
Definition at line 79 of file sbDeviceEvent.h.
|
protected |
Definition at line 80 of file sbDeviceEvent.h.
|
protected |
Definition at line 77 of file sbDeviceEvent.h.
|
protected |
Definition at line 76 of file sbDeviceEvent.h.
|
protected |
Definition at line 74 of file sbDeviceEvent.h.
|
protected |
Definition at line 78 of file sbDeviceEvent.h.