28 #include <sbIDevice.h>
32 #include <nsHashKeys.h>
34 #include <nsIClassInfo.h>
35 #include <nsInterfaceHashtable.h>
36 #include <nsIMutableArray.h>
37 #include <nsStringGlue.h>
50 static NS_HIDDEN_(PLDHashOperator) EnumerateIntoArray(
const nsID& aKey,
54 static NS_HIDDEN_(PLDHashOperator) EnumerateConnectAll(const nsID& aKey,
59 static
NS_HIDDEN_(PLDHashOperator) EnumerateDisconnectAll(const nsID& aKey,
148 nsString mControllerName;
158 nsInterfaceHashtable<nsIDHashKey,
sbIDevice> mDevices;
nsresult GetDeviceInternal(const nsID *aID, sbIDevice **aDevice)
nsresult DisconnectDevicesInternal()
static NS_HIDDEN_(PLDHashOperator) EnumerateIntoArray(const nsID &aKey
nsresult ReleaseDeviceInternal(sbIDevice *aDevice)
nsresult GetMarshallIdInternal(nsID &aID)
nsresult SetMarshallIdInternal(const nsID &aID)
virtual ~sbBaseDeviceController()
nsresult SetControllerNameInternal(const nsAString &aName)
nsresult ReleaseDevicesInternal()
nsresult GetControllerNameInternal(nsAString &aName)
nsresult RemoveDeviceInternal(sbIDevice *aDevice)
nsresult GetDevicesInternal(nsIArray **aDevices)
nsresult AddDeviceInternal(sbIDevice *aDevice)
nsresult GetControllerIdInternal(nsID &aID)
nsresult ControlsDeviceInternal(sbIDevice *aDevice, PRBool *_retval)
nsresult SetControllerIdInternal(const nsID &aID)
nsresult ConnectDevicesInternal()