31 #include <nsServiceManagerUtils.h>
32 #include <nsIAppStartupNotifier.h>
33 #include <nsICategoryManager.h>
34 #include <nsIGenericFactory.h>
47 const char* registryLocation,
48 const char* componentType,
49 const nsModuleComponentInfo* info)
52 nsCOMPtr<nsICategoryManager> categoryManager =
53 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
54 NS_ENSURE_SUCCESS(rv, rv);
56 rv = categoryManager->
57 AddCategoryEntry(APPSTARTUP_CATEGORY,
60 PR_TRUE, PR_TRUE, nsnull);
67 const char* registryLocation,
68 const nsModuleComponentInfo* info)
71 nsCOMPtr<nsICategoryManager> categoryManager =
72 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
73 NS_ENSURE_SUCCESS(rv, rv);
75 rv = categoryManager->DeleteCategoryEntry(APPSTARTUP_CATEGORY,
88 sbDeviceFirmwareSupportConstructor
95 sbDeviceFirmwareUpdateConstructor
102 sbDeviceFirmwareUpdaterConstructor,
NS_GENERIC_FACTORY_CONSTRUCTOR(sbDeviceFirmwareSupport)
#define SB_DEVICEFIRMWAREUPDATER_DESCRIPTION
#define SB_DEVICEFIRMWAREUPDATER_CLASSNAME
#define SB_DEVICEFIRMWAREUPDATE_CONTRACTID
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(sbDeviceFirmwareUpdater, Init)
#define SB_DEVICEFIRMWAREUPDATE_CID
#define SB_DEVICEFIRMWARESUPPORT_CLASSNAME
static nsModuleComponentInfo sbDeviceFirmwareUpdaterComponents[]
static NS_METHOD sbDeviceFirmwareUpdaterUnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const nsModuleComponentInfo *info)
static NS_METHOD sbDeviceFirmwareUpdaterRegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
#define SB_DEVICEFIRMWAREUPDATER_CID
#define SB_DEVICEFIRMWARESUPPORT_CONTRACTID
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
#define SB_DEVICEFIRMWAREUPDATE_CLASSNAME
#define SB_DEVICEFIRMWAREUPDATER_CONTRACTID
#define SB_DEVICEFIRMWARESUPPORT_CID