register imap protocol info progid

This commit is contained in:
alecf%netscape.com 1999-09-14 00:15:08 +00:00
parent 20aadd6668
commit e4e52250a7
2 changed files with 10 additions and 0 deletions

View File

@ -259,6 +259,13 @@ NSRegisterSelf(nsISupports* aServMgr, const char* path)
if (NS_FAILED(rv)) finalResult = rv;
rv = compMgr->RegisterComponent(kCImapService,
"Imap Protocol Handler",
NS_IMAPPROTOCOLINFO_PROGID,
path, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) finalResult = rv;
rv = compMgr->RegisterComponent(kCImapMessageResource,
"Imap Message Resource Factory",
NS_RDF_RESOURCE_FACTORY_PROGID_PREFIX "imap_message",

View File

@ -28,6 +28,9 @@
0x21a89611, 0xdc0d, 0x11d2, \
{ 0x80, 0x6c, 0x0, 0x60, 0x8, 0x12, 0x8c, 0x4e }}
#define NS_IMAPPROTOCOLINFO_PROGID \
NS_MSGPROTOCOLINFO_PROGID_PREFIX "imap"
#define NS_IMAPSERVICE_CID \
{ /* C5852B22-EBE2-11d2-95AD-000064657374 */ \
0xc5852b22, 0xebe2, 0x11d2, \