adding a contract id for the imap service, so I can clean up some code

This commit is contained in:
sspitzer%netscape.com 2003-01-10 03:46:23 +00:00
parent 7846d1c668
commit a006c74fa9
2 changed files with 7 additions and 0 deletions

View File

@ -88,6 +88,10 @@ static const nsModuleComponentInfo gComponents[] = {
"@mozilla.org/messenger/messageservice;1?type=imap",
nsImapServiceConstructor },
{ "IMAP Service", NS_IMAPSERVICE_CID,
NS_IMAPSERVICE_CONTRACTID,
nsImapServiceConstructor },
{ "IMAP Protocol Handler", NS_IMAPSERVICE_CID,
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "imap", nsImapServiceConstructor},

View File

@ -54,6 +54,9 @@
#define NS_IMAPINCOMINGSERVER_CONTRACTID \
NS_MSGINCOMINGSERVER_CONTRACTID_PREFIX "imap"
#define NS_IMAPSERVICE_CONTRACTID \
"@mozilla.org/messenger/imapservice;1"
#define NS_IMAPSERVICE_CID \
{ /* C5852B22-EBE2-11d2-95AD-000064657374 */ \
0xc5852b22, 0xebe2, 0x11d2, \