This commit is contained in:
davidm%netscape.com 1999-04-27 21:33:14 +00:00
Родитель e366e84851
Коммит aa13db12e4
1 изменённых файлов: 3 добавлений и 5 удалений

Просмотреть файл

@ -29,9 +29,9 @@
/* extern the factory entry points for each component... */
nsresult NS_NewAppShellServiceFactory(nsIFactory** aFactory);
nsresult NS_NewXPConnectFactoryFactory(nsIFactory** aResult);
#if defined (XP_MAC) || defined (XP_WIN )
nsresult NS_NewDefaultProtocolHelperFactory(nsIFactory** aResult);
#endif
static NS_DEFINE_IID(kAppShellServiceCID, NS_APPSHELL_SERVICE_CID);
@ -118,8 +118,6 @@ NSGetFactory(nsISupports* serviceMgr,
else if (aClass.Equals(kGlobalHistoryCID)) {
rv = NS_NewGlobalHistoryFactory(aFactory);
}
#if defined (XP_MAC) || defined (XP_WIN )
else if (aClass.Equals(kProtocolHelperCID)) {
rv = NS_NewDefaultProtocolHelperFactory(aFactory);
}
@ -127,7 +125,7 @@ NSGetFactory(nsISupports* serviceMgr,
{
rv = NS_NewNetSupportDialogFactory(aFactory);
}
#endif
return rv;
}