mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
make the news factory handle news messages
This commit is contained in:
parent
ca10577ff8
commit
ae728a9650
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user