34 #include <nsServiceManagerUtils.h>
35 #include <nsIAppStartupNotifier.h>
36 #include <nsICategoryManager.h>
37 #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 sbDeviceManagerConstructor,
static NS_METHOD sbDeviceManagerRegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
NS_GENERIC_FACTORY_CONSTRUCTOR(sbDeviceManager)
static NS_METHOD sbDeviceManagerUnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const nsModuleComponentInfo *info)
#define SONGBIRD_DEVICEMANAGER2_CLASSNAME
#define SONGBIRD_DEVICEMANAGER2_DESCRIPTION
static nsModuleComponentInfo sbDeviceManagerComponents[]
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
#define SONGBIRD_DEVICEMANAGER2_CID
#define SONGBIRD_DEVICEMANAGER2_CONTRACTID