28 #include "sbIDeviceManager.h"
29 #include "sbIDeviceControllerRegistrar.h"
30 #include "sbIDeviceRegistrar.h"
31 #include "sbIDeviceEventTarget.h"
35 #include <nsHashKeys.h>
36 #include <nsIClassInfo.h>
37 #include <nsInterfaceHashtable.h>
38 #include <nsIObserver.h>
42 #include "sbIDevice.h"
43 #include "sbIDeviceController.h"
44 #include "sbIDeviceMarshall.h"
56 NS_DECL_SBIDEVICEMANAGER2
57 NS_DECL_SBIDEVICECONTROLLERREGISTRAR
58 NS_DECL_SBIDEVICEREGISTRAR
69 static NS_HIDDEN_(PLDHashOperator) EnumerateIntoArray(
const nsID& aKey,
84 nsInterfaceHashtableMT<nsIDHashKey, sbIDeviceController>
mControllers;
85 nsInterfaceHashtableMT<nsIDHashKey, sbIDevice>
mDevices;
86 nsInterfaceHashtableMT<nsIDHashKey, sbIDeviceMarshall>
mMarshalls;
90 #define SONGBIRD_DEVICEMANAGER2_DESCRIPTION \
91 "Songbird DeviceManager2 Service"
92 #define SONGBIRD_DEVICEMANAGER2_CONTRACTID \
93 "@songbirdnest.com/Songbird/DeviceManager;2"
94 #define SONGBIRD_DEVICEMANAGER2_CLASSNAME \
95 "Songbird Device Manager 2"
96 #define SONGBIRD_DEVICEMANAGER2_CID \
98 0xf1b2417e, 0x2515, 0x481d, \
99 { 0xb0, 0x3a, 0xda, 0x3d, 0x5b, 0x7f, 0x62, 0xfa } }
nsresult RemoveAllDevices()
nsresult QuitApplicationGranted()
static NS_HIDDEN_(PLDHashOperator) EnumerateIntoArray(const nsID &aKey
PRBool mHasAllowedShutdown
nsInterfaceHashtableMT< nsIDHashKey, sbIDeviceController > mControllers
nsInterfaceHashtableMT< nsIDHashKey, sbIDevice > mDevices
NS_DECL_ISUPPORTS NS_DECL_SBIDEVICEMANAGER2 NS_DECL_SBIDEVICECONTROLLERREGISTRAR NS_DECL_SBIDEVICEREGISTRAR NS_DECL_NSICLASSINFO NS_DECL_NSIOBSERVER sbDeviceManager()
[UNIMPLEMENTED UNTIL AFTER 0.3]
nsresult BeginMarshallMonitoring()
nsresult QuitApplicationRequested(PRBool *aShouldQuit)
nsInterfaceHashtableMT< nsIDHashKey, sbIDeviceMarshall > mMarshalls
nsresult PrepareShutdown()
[UNIMPLEMENTED UNTIL AFTER 0.3]