36 #include <nsIAppStartupNotifier.h>
37 #include <nsICategoryManager.h>
38 #include <nsIGenericFactory.h>
41 #include <nsServiceManagerUtils.h>
49 const
char* registryLocation,
50 const
char* componentType,
51 const nsModuleComponentInfo* info)
54 nsCOMPtr<nsICategoryManager> categoryManager =
55 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
56 NS_ENSURE_SUCCESS(rv, rv);
58 rv = categoryManager->
59 AddCategoryEntry(NS_XPCOM_STARTUP_CATEGORY,
62 PR_TRUE, PR_TRUE, nsnull);
69 const char* registryLocation,
70 const nsModuleComponentInfo* info)
73 nsCOMPtr<nsICategoryManager> categoryManager =
74 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
75 NS_ENSURE_SUCCESS(rv, rv);
77 rv = categoryManager->DeleteCategoryEntry(NS_XPCOM_STARTUP_CATEGORY,
91 sbThreadPoolServiceConstructor,
static NS_METHOD sbThreadPoolServiceUnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const nsModuleComponentInfo *info)
#define SB_THREADPOOLSERVICE_CLASSNAME
#define SB_THREADPOOLSERVICE_CID
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(sbMockDeviceFirmwareHandler, Init)
static NS_METHOD sbThreadPoolServiceRegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
Songbird Thread Pool Service.
static const nsModuleComponentInfo components[]
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)