#include <sbBaseDeviceEventTarget.h>
Classes | |
struct | DispatchState |
Public Member Functions | |
sbBaseDeviceEventTarget () | |
Public Member Functions inherited from sbIDeviceEventTarget | |
boolean | dispatchEvent (in sbIDeviceEvent aEvent, [optional] in PRBool aAsync) |
void | addEventListener (in sbIDeviceEventListener aListener) |
void | removeEventListener (in sbIDeviceEventListener aListener) |
Public Attributes | |
NS_DECL_SBIDEVICEEVENTTARGET | |
Protected Member Functions | |
virtual | ~sbBaseDeviceEventTarget () |
nsresult | DispatchEventInternal (nsCOMPtr< sbIDeviceEvent > aEvent) |
Protected Attributes | |
nsCOMArray < sbIDeviceEventListener > | mListeners |
nsDeque | mStates |
nsCOMPtr< nsIWeakReference > | mParentEventTarget |
Friends | |
class | sbDeviceEventTargetRemovalHelper |
sbBaseDeviceEventTarget is a helper class to implement a basic sbIDeviceEventTarget. All events will be proxied onto the main thread and dispatched there.
Definition at line 45 of file sbBaseDeviceEventTarget.h.
sbBaseDeviceEventTarget::sbBaseDeviceEventTarget | ( | ) |
Definition at line 64 of file sbBaseDeviceEventTarget.cpp.
|
protectedvirtual |
Definition at line 71 of file sbBaseDeviceEventTarget.cpp.
|
protected |
Definition at line 127 of file sbBaseDeviceEventTarget.cpp.
|
friend |
Definition at line 68 of file sbBaseDeviceEventTarget.h.
|
protected |
Definition at line 59 of file sbBaseDeviceEventTarget.h.
|
protected |
Definition at line 70 of file sbBaseDeviceEventTarget.h.
|
protected |
Definition at line 67 of file sbBaseDeviceEventTarget.h.
sbBaseDeviceEventTarget::NS_DECL_SBIDEVICEEVENTTARGET |
Definition at line 48 of file sbBaseDeviceEventTarget.h.