make the news factory handle news messages

This commit is contained in:
sspitzer%netscape.com 1999-05-04 02:56:33 +00:00
Родитель 804fb0ca02
Коммит 6e475fc55f
1 изменённых файлов: 9 добавлений и 4 удалений

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

@ -224,16 +224,21 @@ NSRegisterSelf(nsISupports* aServMgr, const char* path)
rv = compMgr->RegisterComponent(kNntpUrlCID, nsnull, nsnull, path, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) goto done;
rv = compMgr->RegisterComponent(kNntpServiceCID, "Nntp Service",
rv = compMgr->RegisterComponent(kNntpServiceCID, "NNTP Service",
"component://netscape/messenger/nntpservice",
path, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) goto done;
rv = compMgr->RegisterComponent(kNntpServiceCID, "Nntp Message Service",
"component://netscape/messenger/messageservice;type=news",
path, PR_TRUE, PR_TRUE);
rv = compMgr->RegisterComponent(kNntpServiceCID, "NNTP News Service",
"component://netscape/messenger/messageservice;type=news",
path, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) goto done;
rv = compMgr->RegisterComponent(kNntpServiceCID, "NNTP News Message Service",
"component://netscape/messenger/messageservice;type=news_message",
path, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) goto done;
rv = compMgr->RegisterComponent(kNewsFolderResourceCID,
"News Folder Resource Factory",
NS_RDF_RESOURCE_FACTORY_PROGID_PREFIX "news",