28 #include <nsServiceManagerUtils.h>
29 #include <nsIAppStartupNotifier.h>
30 #include <nsICategoryManager.h>
31 #include <nsIGenericFactory.h>
45 const
char* registryLocation,
46 const
char* componentType,
47 const nsModuleComponentInfo* info)
50 nsCOMPtr<nsICategoryManager> categoryManager =
51 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
52 NS_ENSURE_SUCCESS(rv, rv);
54 rv = categoryManager->
58 PR_TRUE, PR_TRUE, nsnull);
66 const char* registryLocation,
67 const nsModuleComponentInfo* info)
70 nsCOMPtr<nsICategoryManager> categoryManager =
71 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
72 NS_ENSURE_SUCCESS(rv, rv);
86 sbCDDeviceMarshallConstructor,
94 sbCDDeviceControllerConstructor,
95 sbCDDeviceControllerRegisterSelf,
96 sbCDDeviceControllerUnregisterSelf
SB_DEVICE_CONTROLLER_REGISTERSELF(sbCDDeviceController)
#define SB_CDDEVICE_CONTROLLER_CONTRACTID
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(sbMockDeviceFirmwareHandler, Init)
#define SB_DEVICE_MARSHALL_CATEGORY
static NS_METHOD sbCDDeviceMarshallRegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
#define SB_CDDEVICE_CONTROLLER_CID
static NS_METHOD sbCDDeviceMarshallUnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const nsModuleComponentInfo *info)
#define SB_CDDEVICE_MARSHALL_CLASSNAME
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
#define SB_CDDEVICE_MARSHALL_DESC
#define SB_CDDEVICE_MARSHALL_CONTRACTID
#define SB_CDDEVICE_MARSHALL_CID
static nsModuleComponentInfo sbDeviceMarshallComponents[]
#define SB_CDDEVICE_CONTROLLER_CLASSNAME