This commit is contained in:
sspitzer%netscape.com 1999-05-04 02:54:57 +00:00
Родитель 8b0fa76b23
Коммит 6dbfdebe65
1 изменённых файлов: 0 добавлений и 15 удалений

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

@ -31,7 +31,6 @@
#include "nsMsgComposeFact.h" #include "nsMsgComposeFact.h"
#include "nsMsgCompFieldsFact.h" #include "nsMsgCompFieldsFact.h"
#include "nsMsgSendFact.h" #include "nsMsgSendFact.h"
#include "nsMsgPostFact.h"
#include "nsIServiceManager.h" #include "nsIServiceManager.h"
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
@ -41,7 +40,6 @@ static NS_DEFINE_IID(kIFactoryIID, NS_IFACTORY_IID);
static NS_DEFINE_CID(kCMsgComposeCID, NS_MSGCOMPOSE_CID); static NS_DEFINE_CID(kCMsgComposeCID, NS_MSGCOMPOSE_CID);
static NS_DEFINE_CID(kCMsgCompFieldsCID, NS_MSGCOMPFIELDS_CID); static NS_DEFINE_CID(kCMsgCompFieldsCID, NS_MSGCOMPFIELDS_CID);
static NS_DEFINE_CID(kCMsgSendCID, NS_MSGSEND_CID); static NS_DEFINE_CID(kCMsgSendCID, NS_MSGSEND_CID);
static NS_DEFINE_CID(kCMsgPostCID, NS_MSGPOST_CID);
static NS_DEFINE_CID(kCSmtpServiceCID, NS_SMTPSERVICE_CID); static NS_DEFINE_CID(kCSmtpServiceCID, NS_SMTPSERVICE_CID);
static NS_DEFINE_CID(kCComposeAppCoreCID, NS_COMPOSEAPPCORE_CID); static NS_DEFINE_CID(kCComposeAppCoreCID, NS_COMPOSEAPPCORE_CID);
static NS_DEFINE_CID(kCComposerBootstrapCID, NS_COMPOSERBOOTSTRAP_CID); static NS_DEFINE_CID(kCComposerBootstrapCID, NS_COMPOSERBOOTSTRAP_CID);
@ -168,11 +166,6 @@ nsresult nsMsgComposeFactory::CreateInstance(nsISupports *aOuter, const nsIID &a
{ {
return NS_NewMsgSend(aIID, aResult); return NS_NewMsgSend(aIID, aResult);
} }
// do they want a Message Post interface ?
else if (mClassID.Equals(kCMsgPostCID))
{
return NS_NewMsgPost(aIID, aResult);
}
// do they want a Compose AppCore interface ? // do they want a Compose AppCore interface ?
else if (mClassID.Equals(kCComposeAppCoreCID)) else if (mClassID.Equals(kCComposeAppCoreCID))
{ {
@ -252,11 +245,6 @@ extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* aServMgr, const char*
nsnull, path, PR_TRUE, PR_TRUE); nsnull, path, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) goto done; if (NS_FAILED(rv)) goto done;
rv = compMgr->RegisterComponent(kCMsgPostCID,
"Message Post",
nsnull, path, PR_TRUE, PR_TRUE);
if (NS_FAILED(rv)) goto done;
rv = compMgr->RegisterComponent(kCMsgComposeCID, rv = compMgr->RegisterComponent(kCMsgComposeCID,
"Message Compose", "Message Compose",
nsnull, nsnull,
@ -321,9 +309,6 @@ NSUnregisterSelf(nsISupports* aServMgr, const char* path)
rv = compMgr->UnregisterComponent(kCMsgSendCID, path); rv = compMgr->UnregisterComponent(kCMsgSendCID, path);
if (NS_FAILED(rv)) goto done; if (NS_FAILED(rv)) goto done;
rv = compMgr->UnregisterComponent(kCMsgPostCID, path);
if (NS_FAILED(rv)) goto done;
rv = compMgr->UnregisterComponent(kCMsgCompFieldsCID, path); rv = compMgr->UnregisterComponent(kCMsgCompFieldsCID, path);
if (NS_FAILED(rv)) goto done; if (NS_FAILED(rv)) goto done;