зеркало из https://github.com/mozilla/pjs.git
nsMsgPost is extinct
This commit is contained in:
Родитель
8b0fa76b23
Коммит
6dbfdebe65
|
@ -31,7 +31,6 @@
|
|||
#include "nsMsgComposeFact.h"
|
||||
#include "nsMsgCompFieldsFact.h"
|
||||
#include "nsMsgSendFact.h"
|
||||
#include "nsMsgPostFact.h"
|
||||
#include "nsIServiceManager.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(kCMsgCompFieldsCID, NS_MSGCOMPFIELDS_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(kCComposeAppCoreCID, NS_COMPOSEAPPCORE_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);
|
||||
}
|
||||
// do they want a Message Post interface ?
|
||||
else if (mClassID.Equals(kCMsgPostCID))
|
||||
{
|
||||
return NS_NewMsgPost(aIID, aResult);
|
||||
}
|
||||
// do they want a Compose AppCore interface ?
|
||||
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);
|
||||
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,
|
||||
"Message Compose",
|
||||
nsnull,
|
||||
|
@ -321,9 +309,6 @@ NSUnregisterSelf(nsISupports* aServMgr, const char* path)
|
|||
rv = compMgr->UnregisterComponent(kCMsgSendCID, path);
|
||||
if (NS_FAILED(rv)) goto done;
|
||||
|
||||
rv = compMgr->UnregisterComponent(kCMsgPostCID, path);
|
||||
if (NS_FAILED(rv)) goto done;
|
||||
|
||||
rv = compMgr->UnregisterComponent(kCMsgCompFieldsCID, path);
|
||||
if (NS_FAILED(rv)) goto done;
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче