nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it: CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID. b) rename the old nsIComponentManager to nsIComponentManagerObsolete. c) fixes callers which use to access the nsIComponentManager for component registration functionality. These callers will temporary use the nsIComponentManagerObsolete interface. d) Create a new API NS_GetComponentManager() which mirrors the NS_GetServiceManager() e) Perserves the old NS_GetGlobalComponentManager(). Note the cast usage. r/sr = rpotts@netscape.com alecf@netscape.com brendan@mozilla.org git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -298,7 +298,7 @@ Usage: %s [-i intype] [-o outtype] [-f flags] [-w wrapcol] [-c comparison_file]
|
||||
}
|
||||
else file = stdin;
|
||||
|
||||
nsComponentManager::AutoRegister(nsIComponentManager::NS_Startup, 0);
|
||||
nsComponentManager::AutoRegister(nsIComponentManagerObsolete::NS_Startup, 0);
|
||||
NS_SetupRegistry();
|
||||
|
||||
// Read in the string: very inefficient, but who cares?
|
||||
|
||||
Reference in New Issue
Block a user