33 #include <nsServiceManagerUtils.h>
34 #include <nsIAppStartupNotifier.h>
35 #include <nsICategoryManager.h>
36 #include <nsIGenericFactory.h>
46 const char* registryLocation,
47 const char* componentType,
48 const nsModuleComponentInfo* info)
51 nsCOMPtr<nsICategoryManager> categoryManager =
52 do_GetService(NS_CATEGORYMANAGER_CONTRACTID, &rv);
53 NS_ENSURE_SUCCESS(rv, rv);
55 rv = categoryManager->
56 AddCategoryEntry(APPSTARTUP_CATEGORY,
59 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);
74 rv = categoryManager->DeleteCategoryEntry(APPSTARTUP_CATEGORY,
87 sbDeviceManagerObsoleteConstructor,
static nsModuleComponentInfo components[]
#define SONGBIRD_OBSOLETE_DEVICEMANAGER_DESCRIPTION
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(sbDeviceManagerObsolete, Initialize)
Songbird WMDevice Component Definition.
#define SONGBIRD_OBSOLETE_DEVICEMANAGER_CONTRACTID
#define SONGBIRD_OBSOLETE_DEVICEMANAGER_CID
NS_IMPL_NSGETMODULE(SongbirdIdentityServiceComponent, sbIdentityServiceComponent)
static NS_METHOD sbDeviceManagerObsoleteUnregisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const nsModuleComponentInfo *info)
static NS_METHOD sbDeviceManagerObsoleteRegisterSelf(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *registryLocation, const char *componentType, const nsModuleComponentInfo *info)
#define SONGBIRD_OBSOLETE_DEVICEMANAGER_CLASSNAME