#include <sbDeviceManager.h>
Public Member Functions | |
| NS_DECL_ISUPPORTS NS_DECL_SBIDEVICEMANAGER2 NS_DECL_SBIDEVICECONTROLLERREGISTRAR NS_DECL_SBIDEVICEREGISTRAR NS_DECL_NSICLASSINFO NS_DECL_NSIOBSERVER | sbDeviceManager () |
Public Member Functions inherited from sbBaseDeviceEventTarget | |
| 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 Member Functions inherited from sbIDeviceManager2 | |
| sbIDeviceMarshall | getMarshallByID (in nsIDPtr aIDPtr) |
| void | updateDevices () |
| sbIDeviceEvent | createEvent (in unsigned long aType, [optional] in nsIVariant aData, [optional] in nsISupports aOrigin, [optional] in unsigned long aDeviceState, [optional] in unsigned long aDeviceSubState) |
| sbIDeviceEventBeforeAddedData | createBeforeAddedData (in sbIDevice aDevice) |
| sbIDevice | getDeviceForItem (in sbIMediaItem aItem) |
Public Member Functions inherited from sbIDeviceControllerRegistrar | |
| void | registerController (in sbIDeviceController aController) |
| void | unregisterController (in sbIDeviceController aController) |
| sbIDeviceController | getController (in nsIDPtr aControllerId) |
Public Member Functions inherited from sbIDeviceRegistrar | |
| void | registerDevice (in sbIDevice aDevice) |
| void | unregisterDevice (in sbIDevice aDevice) |
| sbIDevice | getDevice (in nsIDPtr aDeviceId) |
Public Member Functions inherited from sbSupportsWeakReference | |
| sbSupportsWeakReference () | |
Protected Member Functions | |
| nsresult | Init () |
| nsresult | BeginMarshallMonitoring () |
| nsresult | PrepareShutdown () |
| nsresult | FinalShutdown () |
| nsresult | QuitApplicationRequested (PRBool *aShouldQuit) |
| nsresult | QuitApplicationGranted () |
| nsresult | RemoveAllDevices () |
Protected Member Functions inherited from sbBaseDeviceEventTarget | |
| virtual | ~sbBaseDeviceEventTarget () |
| nsresult | DispatchEventInternal (nsCOMPtr< sbIDeviceEvent > aEvent) |
Protected Member Functions inherited from sbSupportsWeakReference | |
| ~sbSupportsWeakReference () | |
| void | ClearWeakReferences () |
| PRBool | HasWeakReferences () const |
Static Protected Member Functions | |
| template<class T > | |
| static | NS_HIDDEN_ (PLDHashOperator) EnumerateIntoArray(const nsID &aKey |
Protected Attributes | |
| static T * | aData |
| static T void * | aArray |
| PRMonitor * | mMonitor |
| nsInterfaceHashtableMT < nsIDHashKey, sbIDeviceController > | mControllers |
| nsInterfaceHashtableMT < nsIDHashKey, sbIDevice > | mDevices |
| nsInterfaceHashtableMT < nsIDHashKey, sbIDeviceMarshall > | mMarshalls |
| PRBool | mHasAllowedShutdown |
Protected Attributes inherited from sbBaseDeviceEventTarget | |
| nsCOMArray < sbIDeviceEventListener > | mListeners |
| nsDeque | mStates |
| nsCOMPtr< nsIWeakReference > | mParentEventTarget |
Additional Inherited Members | |
Public Attributes inherited from sbBaseDeviceEventTarget | |
| NS_DECL_SBIDEVICEEVENTTARGET | |
Public Attributes inherited from sbIDeviceManager2 | |
| readonly attribute nsIArray | marshalls |
| readonly attribute boolean | canDisconnect |
Public Attributes inherited from sbIDeviceControllerRegistrar | |
| readonly attribute nsIArray | controllers |
Public Attributes inherited from sbIDeviceRegistrar | |
| readonly attribute nsIArray | devices |
Definition at line 46 of file sbDeviceManager.h.
| nsISupportsWeakReference sbDeviceManager::sbDeviceManager | ( | ) |
Definition at line 84 of file sbDeviceManager.cpp.
|
protected |
Definition at line 702 of file sbDeviceManager.cpp.
|
protected |
Definition at line 903 of file sbDeviceManager.cpp.
|
protected |
|
staticprotected |
|
protected |
Definition at line 840 of file sbDeviceManager.cpp.
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 70 of file sbDeviceManager.h.
|
protected |
Definition at line 70 of file sbDeviceManager.h.
|
protected |
Definition at line 84 of file sbDeviceManager.h.
|
protected |
Definition at line 85 of file sbDeviceManager.h.
|
protected |
Definition at line 87 of file sbDeviceManager.h.
|
protected |
Definition at line 86 of file sbDeviceManager.h.
|
protected |
Definition at line 83 of file sbDeviceManager.h.