зеркало из https://github.com/mozilla/pjs.git
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
This commit is contained in:
Родитель
27fc2706ca
Коммит
99f34f283f
|
@ -60,7 +60,6 @@
|
|||
nsMsgStatusFeedback::nsMsgStatusFeedback() :
|
||||
m_lastPercent(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
LL_I2L(m_lastProgressTime, 0);
|
||||
|
||||
nsresult rv;
|
||||
|
|
|
@ -83,7 +83,6 @@ nsMsgWindow::nsMsgWindow()
|
|||
{
|
||||
mCharsetOverride = PR_FALSE;
|
||||
m_stopped = PR_FALSE;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgWindow::~nsMsgWindow()
|
||||
|
|
|
@ -72,7 +72,6 @@ static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID);
|
|||
|
||||
nsSoundDatasource::nsSoundDatasource()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsSoundDatasource::~nsSoundDatasource()
|
||||
|
|
|
@ -12,8 +12,6 @@
|
|||
|
||||
nsSpamSettings::nsSpamSettings()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mLevel = 0;
|
||||
mMoveOnSpam = PR_FALSE;
|
||||
mMoveTargetMode = MOVE_TARGET_MODE_JUNK_ON_ACCOUNT;
|
||||
|
|
|
@ -68,7 +68,6 @@ nsIAtom * nsStatusBarBiffManager::kBiffStateAtom = nsnull;
|
|||
nsStatusBarBiffManager::nsStatusBarBiffManager()
|
||||
: mInitialized(PR_FALSE), mCurrentBiffState(nsIMsgFolder::nsMsgBiffState_NoMail)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsStatusBarBiffManager::~nsStatusBarBiffManager()
|
||||
|
|
|
@ -63,7 +63,6 @@ MOZ_DECL_CTOR_COUNTER(nsSubscribableServer)
|
|||
|
||||
nsSubscribableServer::nsSubscribableServer(void)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mDelimiter = '.';
|
||||
mShowFullName = PR_TRUE;
|
||||
mTreeRoot = nsnull;
|
||||
|
|
|
@ -62,7 +62,6 @@ typedef struct _nsSubscribeNotification {
|
|||
|
||||
nsSubscribeDataSource::nsSubscribeDataSource()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsSubscribeDataSource::~nsSubscribeDataSource()
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
nsUrlListenerManager::nsUrlListenerManager() :
|
||||
m_listeners(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
// create a new isupports array to store our listeners in...
|
||||
NS_NewISupportsArray(getter_AddRefs(m_listeners));
|
||||
}
|
||||
|
|
|
@ -129,8 +129,6 @@ nsMsgFolder::nsMsgFolder(void)
|
|||
mIsServer(PR_FALSE),
|
||||
mBaseMessageURI(nsnull)
|
||||
{
|
||||
// NS_INIT_ISUPPORTS(); done by superclass
|
||||
|
||||
mSemaphoreHolder = NULL;
|
||||
|
||||
mNumPendingUnreadMessages = 0;
|
||||
|
|
|
@ -67,7 +67,6 @@ nsMsgIdentity::nsMsgIdentity():
|
|||
m_identityKey(0),
|
||||
m_prefBranch(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgIdentity::~nsMsgIdentity()
|
||||
|
|
|
@ -96,7 +96,6 @@ nsMsgIncomingServer::nsMsgIncomingServer():
|
|||
m_displayStartupPage(PR_TRUE),
|
||||
mPerformingBiff(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgIncomingServer::~nsMsgIncomingServer()
|
||||
|
|
|
@ -65,8 +65,6 @@ static NS_DEFINE_CID(kIOServiceCID, NS_IOSERVICE_CID);
|
|||
|
||||
nsMsgMailNewsUrl::nsMsgMailNewsUrl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// nsIURI specific state
|
||||
m_errorMessage = nsnull;
|
||||
m_runningUrl = PR_FALSE;
|
||||
|
@ -852,7 +850,6 @@ nsMsgSaveAsListener::nsMsgSaveAsListener(nsIFileSpec *aFileSpec, PRBool addDummy
|
|||
m_writtenData = PR_FALSE;
|
||||
m_addDummyEnvelope = addDummyEnvelope;
|
||||
m_leftOver = 0;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgSaveAsListener::~nsMsgSaveAsListener()
|
||||
|
|
|
@ -80,7 +80,6 @@ static PRUnichar *FormatStringWithHostNameByID(PRInt32 stringID, nsIMsgMailNewsU
|
|||
|
||||
nsMsgProtocol::nsMsgProtocol(nsIURI * aURL)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_flags = 0;
|
||||
m_startPosition = 0;
|
||||
m_readCount = 0;
|
||||
|
@ -786,7 +785,7 @@ class nsMsgProtocolStreamProvider : public nsIStreamProvider
|
|||
public:
|
||||
NS_DECL_ISUPPORTS
|
||||
|
||||
nsMsgProtocolStreamProvider() { NS_INIT_ISUPPORTS(); }
|
||||
nsMsgProtocolStreamProvider() { }
|
||||
virtual ~nsMsgProtocolStreamProvider() {}
|
||||
|
||||
void Init(nsMsgAsyncWriteProtocol *aProtInstance, nsIInputStream *aInputStream) { mMsgProtocol = aProtInstance; mInStream = aInputStream;}
|
||||
|
@ -850,7 +849,7 @@ public:
|
|||
NS_DECL_NSIREQUESTOBSERVER
|
||||
NS_DECL_NSISTREAMLISTENER
|
||||
|
||||
nsMsgFilePostHelper() { NS_INIT_ISUPPORTS(); mSuspendedPostFileRead = PR_FALSE;}
|
||||
nsMsgFilePostHelper() { mSuspendedPostFileRead = PR_FALSE;}
|
||||
nsresult Init(nsIOutputStream * aOutStream, nsMsgAsyncWriteProtocol * aProtInstance, nsIFile *aFileToPost);
|
||||
virtual ~nsMsgFilePostHelper() {}
|
||||
nsCOMPtr<nsIRequest> mPostFileRequest;
|
||||
|
|
|
@ -46,7 +46,6 @@ NS_IMPL_THREADSAFE_QUERY_INTERFACE1(nsMsgTxn, nsITransaction)
|
|||
// note that aEditor is not refcounted
|
||||
nsMsgTxn::nsMsgTxn()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_txnType = 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -44,7 +44,6 @@ NS_IMPL_ISUPPORTS1(nsMsgAttachment, nsIMsgAttachment)
|
|||
|
||||
nsMsgAttachment::nsMsgAttachment()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mTemporary = PR_FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -81,9 +81,6 @@ nsMsgCompFields::nsMsgCompFields()
|
|||
SetCharacterSet(m_DefaultCharacterSet.get());
|
||||
}
|
||||
m_internalCharSet.Assign(msgCompHeaderInternalCharset());
|
||||
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgCompFields::~nsMsgCompFields()
|
||||
|
|
|
@ -71,7 +71,6 @@ NS_IMPL_ISUPPORTS1(nsMsgCompUtils, nsIMsgCompUtils)
|
|||
|
||||
nsMsgCompUtils::nsMsgCompUtils()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgCompUtils::~nsMsgCompUtils()
|
||||
|
|
|
@ -240,8 +240,6 @@ nsMsgCompose::nsMsgCompose()
|
|||
printf("CREATE nsMsgCompose: %x\n", this);
|
||||
#endif
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mQuotingToFollow = PR_FALSE;
|
||||
mWhatHolder = 1;
|
||||
m_window = nsnull;
|
||||
|
@ -1922,8 +1920,6 @@ QuotingOutputStreamListener::QuotingOutputStreamListener(const char * originalMs
|
|||
mCitePrefix.Append(NS_LITERAL_STRING("<br><html>"));
|
||||
}
|
||||
}
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2604,8 +2600,6 @@ nsMsgComposeSendListener::nsMsgComposeSendListener(void)
|
|||
printf("CREATE nsMsgComposeSendListener: %x\n", this);
|
||||
#endif
|
||||
mDeliverMode = 0;
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgComposeSendListener::~nsMsgComposeSendListener(void)
|
||||
|
@ -4743,7 +4737,6 @@ nsMsgRecipient::nsMsgRecipient() :
|
|||
mPreferFormat(nsIAbPreferMailFormat::unknown),
|
||||
mProcessed(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgRecipient::nsMsgRecipient(nsString fullAddress, nsString email, PRUint32 preferFormat, PRBool processed) :
|
||||
|
@ -4752,7 +4745,6 @@ nsMsgRecipient::nsMsgRecipient(nsString fullAddress, nsString email, PRUint32 pr
|
|||
mPreferFormat(preferFormat),
|
||||
mProcessed(processed)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgRecipient::~nsMsgRecipient()
|
||||
|
@ -4769,14 +4761,11 @@ NS_INTERFACE_MAP_END
|
|||
|
||||
nsMsgMailList::nsMsgMailList()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgMailList::nsMsgMailList(nsString listName, nsString listDescription, nsIAbDirectory* directory) :
|
||||
mDirectory(directory)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
nsCOMPtr<nsIMsgHeaderParser> parser (do_GetService(NS_MAILNEWS_MIME_HEADER_PARSER_CONTRACTID));
|
||||
|
||||
if (parser)
|
||||
|
|
|
@ -46,7 +46,6 @@ static NS_DEFINE_CID(kMsgComposeServiceCID, NS_MSGCOMPOSESERVICE_CID);
|
|||
|
||||
nsMsgComposeContentHandler::nsMsgComposeContentHandler()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
/* the following macro actually implement addref, release and query interface for our component. */
|
||||
|
|
|
@ -44,7 +44,6 @@ nsMsgComposeParams::nsMsgComposeParams() :
|
|||
mFormat(nsIMsgCompFormat::Default),
|
||||
mBodyIsLink(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
/* the following macro actually implement addref, release and query interface for our component. */
|
||||
|
|
|
@ -52,7 +52,6 @@ NS_IMPL_ISUPPORTS1(nsMsgComposeProgress, nsIMsgComposeProgress)
|
|||
|
||||
nsMsgComposeProgress::nsMsgComposeProgress()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_closeProgress = PR_FALSE;
|
||||
m_processCanceled = PR_FALSE;
|
||||
m_pendingStateFlags = -1;
|
||||
|
|
|
@ -45,7 +45,6 @@ NS_IMPL_ISUPPORTS1(nsMsgComposeProgressParams, nsIMsgComposeProgressParams)
|
|||
nsMsgComposeProgressParams::nsMsgComposeProgressParams() :
|
||||
m_deliveryMode(nsIMsgCompDeliverMode::Now)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgComposeProgressParams::~nsMsgComposeProgressParams()
|
||||
|
|
|
@ -136,8 +136,6 @@ nsMsgComposeService::nsMsgComposeService()
|
|||
NS_ASSERTION(!_just_to_be_sure_we_create_only_one_compose_service_, "You cannot create several message compose service!");
|
||||
_just_to_be_sure_we_create_only_one_compose_service_ = PR_TRUE;
|
||||
#endif
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Defaulting the value of mLogComposePerformance to FALSE to prevent logging.
|
||||
mLogComposePerformance = PR_FALSE;
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
|
||||
nsComposeStringService::nsComposeStringService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsComposeStringService::~nsComposeStringService()
|
||||
|
|
|
@ -82,7 +82,6 @@ CopyListener::CopyListener(void)
|
|||
{
|
||||
mCopyObject = nsnull;
|
||||
mCopyInProgress = PR_FALSE;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
CopyListener::~CopyListener(void)
|
||||
|
@ -182,8 +181,6 @@ nsMsgCopy::nsMsgCopy()
|
|||
mFileSpec = nsnull;
|
||||
mMode = nsIMsgSend::nsMsgDeliverNow;
|
||||
mSavePref = nsnull;
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgCopy::~nsMsgCopy()
|
||||
|
|
|
@ -76,8 +76,6 @@ static NS_DEFINE_CID(kPrefCID, NS_PREF_CID);
|
|||
//
|
||||
nsMsgDraft::nsMsgDraft()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
mURI = nsnull;
|
||||
mMessageService = nsnull;
|
||||
mOutType = nsMimeOutput::nsMimeMessageDraftOrTemplate;
|
||||
|
|
|
@ -113,8 +113,6 @@ nsMsgDeliveryListener::nsMsgDeliveryListener(nsMsgDeliveryCompletionCallback cal
|
|||
mCompletionCallback = callback;
|
||||
mMsgSendObj = nsnull;
|
||||
mMsgSendLaterObj = nsnull;
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgDeliveryListener::~nsMsgDeliveryListener()
|
||||
|
|
|
@ -74,8 +74,6 @@ NS_INTERFACE_MAP_END
|
|||
|
||||
nsMsgQuoteListener::nsMsgQuoteListener()
|
||||
{
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgQuoteListener::~nsMsgQuoteListener()
|
||||
|
@ -136,7 +134,6 @@ nsresult nsMsgQuoteListener::OnHeadersReady(nsIMimeHeaders * headers)
|
|||
//
|
||||
nsMsgQuote::nsMsgQuote()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mQuoteHeaders = PR_FALSE;
|
||||
mQuoteListener = nsnull;
|
||||
}
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
|
||||
nsMsgRecipientArray::nsMsgRecipientArray()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_array = new nsStringArray;
|
||||
}
|
||||
|
||||
|
|
|
@ -310,8 +310,6 @@ nsMsgComposeAndSend::nsMsgComposeAndSend() :
|
|||
mMessageWarningSize = 0;
|
||||
|
||||
NS_NEWXPCOM(mSendReport, nsMsgSendReport);
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgComposeAndSend::~nsMsgComposeAndSend()
|
||||
|
|
|
@ -115,8 +115,6 @@ nsMsgSendLater::nsMsgSendLater()
|
|||
mRequestReturnReceipt = PR_FALSE;
|
||||
|
||||
NS_NewISupportsArray(getter_AddRefs(mMessagesToSend));
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgSendLater::~nsMsgSendLater()
|
||||
|
@ -330,7 +328,6 @@ NS_IMPL_ISUPPORTS2(SendOperationListener, nsIMsgSendListener,
|
|||
SendOperationListener::SendOperationListener(void)
|
||||
{
|
||||
mSendLater = nsnull;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
SendOperationListener::~SendOperationListener(void)
|
||||
|
|
|
@ -50,7 +50,6 @@ NS_IMPL_ISUPPORTS1(nsMsgProcessReport, nsIMsgProcessReport)
|
|||
|
||||
nsMsgProcessReport::nsMsgProcessReport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
Reset();
|
||||
}
|
||||
|
||||
|
@ -112,8 +111,6 @@ NS_IMPL_ISUPPORTS1(nsMsgSendReport, nsIMsgSendReport)
|
|||
|
||||
nsMsgSendReport::nsMsgSendReport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
PRUint32 i;
|
||||
for (i = 0; i <= SEND_LAST_PROCESS; i ++)
|
||||
NS_NEWXPCOM(mProcessReport[i], nsMsgProcessReport);
|
||||
|
|
|
@ -71,7 +71,6 @@ NS_IMPL_ISUPPORTS1(nsSmtpDataSource, nsIRDFDataSource)
|
|||
|
||||
nsSmtpDataSource::nsSmtpDataSource()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
gRefCount++;
|
||||
if (gRefCount == 1)
|
||||
initGlobalObjects();
|
||||
|
|
|
@ -59,7 +59,6 @@ NS_IMPL_ISUPPORTS1(nsSmtpDelegateFactory, nsIRDFDelegateFactory)
|
|||
|
||||
nsSmtpDelegateFactory::nsSmtpDelegateFactory()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsSmtpDelegateFactory::~nsSmtpDelegateFactory()
|
||||
|
|
|
@ -59,7 +59,6 @@ NS_INTERFACE_MAP_END
|
|||
|
||||
nsSmtpServer::nsSmtpServer()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsSmtpServer::~nsSmtpServer()
|
||||
|
|
|
@ -160,7 +160,6 @@ nsresult NS_MsgLoadSmtpUrl(nsIURI * aUrl, nsISupports * aConsumer, nsIRequest **
|
|||
nsSmtpService::nsSmtpService() :
|
||||
mSmtpServersLoaded(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_NewISupportsArray(getter_AddRefs(mSmtpServers));
|
||||
}
|
||||
|
||||
|
@ -384,7 +383,6 @@ protected:
|
|||
nsMailtoChannel::nsMailtoChannel(nsIURI * aURI)
|
||||
: m_url(aURI), mStatus(NS_OK)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMailtoChannel::~nsMailtoChannel()
|
||||
|
|
|
@ -55,7 +55,6 @@ static NS_DEFINE_CID(kSimpleURICID, NS_SIMPLEURI_CID);
|
|||
/////////////////////////////////////////////////////////////////////////////////////
|
||||
nsMailtoUrl::nsMailtoUrl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_htmlBody = PR_FALSE;
|
||||
nsComponentManager::CreateInstance(kSimpleURICID, nsnull,
|
||||
NS_GET_IID(nsIURI),
|
||||
|
|
|
@ -72,8 +72,6 @@ nsURLFetcher::nsURLFetcher()
|
|||
#if defined(DEBUG_ducarroz)
|
||||
printf("CREATE nsURLFetcher: %x\n", this);
|
||||
#endif
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Init member variables...
|
||||
mTotalWritten = 0;
|
||||
|
@ -460,7 +458,6 @@ nsURLFetcherStreamConsumer::nsURLFetcherStreamConsumer(nsURLFetcher* urlFetcher)
|
|||
#if defined(DEBUG_ducarroz)
|
||||
printf("CREATE nsURLFetcherStreamConsumer: %x\n", this);
|
||||
#endif
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsURLFetcherStreamConsumer::~nsURLFetcherStreamConsumer()
|
||||
|
|
|
@ -91,7 +91,7 @@ public:
|
|||
NS_DECL_ISUPPORTS
|
||||
NS_DECL_NSIOBSERVER
|
||||
|
||||
nsFolderCharsetObserver() { NS_INIT_ISUPPORTS(); }
|
||||
nsFolderCharsetObserver() { }
|
||||
virtual ~nsFolderCharsetObserver() {}
|
||||
};
|
||||
|
||||
|
@ -169,7 +169,6 @@ nsDBFolderInfo::nsDBFolderInfo(nsMsgDatabase *mdb)
|
|||
m_numVisibleMessagesColumnToken(0),
|
||||
m_expiredMarkColumnToken(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_mdbTable = NULL;
|
||||
m_mdbRow = NULL;
|
||||
m_version = 1; // for upgrading...
|
||||
|
|
|
@ -865,7 +865,6 @@ protected:
|
|||
nsMsgOfflineOpEnumerator::nsMsgOfflineOpEnumerator(nsMailDatabase* db)
|
||||
: mDB(db), mRowCursor(nsnull), mDone(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF(mDB);
|
||||
mNextPrefetched = PR_FALSE;
|
||||
}
|
||||
|
|
|
@ -743,7 +743,6 @@ nsMsgDatabase::nsMsgDatabase()
|
|||
m_cacheSize(kMaxHdrsInCache)
|
||||
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgDatabase::~nsMsgDatabase()
|
||||
|
@ -2328,7 +2327,6 @@ nsMsgDBEnumerator::nsMsgDBEnumerator(nsMsgDatabase* db,
|
|||
: mDB(db), mRowCursor(nsnull), mResultHdr(nsnull), mDone(PR_FALSE),
|
||||
mFilter(filter), mClosure(closure)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF(mDB);
|
||||
mNextPrefetched = PR_FALSE;
|
||||
}
|
||||
|
@ -2511,7 +2509,6 @@ nsMsgDBThreadEnumerator::nsMsgDBThreadEnumerator(nsMsgDatabase* db,
|
|||
: mDB(db), mTableCursor(nsnull), mResultThread(nsnull), mDone(PR_FALSE),
|
||||
mFilter(filter)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ADDREF(mDB);
|
||||
mNextPrefetched = PR_FALSE;
|
||||
}
|
||||
|
@ -4238,7 +4235,6 @@ NS_IMPL_ISUPPORTS1(nsMsgRetentionSettings, nsIMsgRetentionSettings)
|
|||
|
||||
nsMsgRetentionSettings::nsMsgRetentionSettings()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgRetentionSettings::~nsMsgRetentionSettings()
|
||||
|
@ -4343,7 +4339,6 @@ NS_IMPL_ISUPPORTS1(nsMsgDownloadSettings, nsIMsgDownloadSettings)
|
|||
|
||||
nsMsgDownloadSettings::nsMsgDownloadSettings()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_useServerDefaults = PR_FALSE;
|
||||
m_downloadUnreadOnly = PR_FALSE;
|
||||
m_downloadByDate = PR_FALSE;
|
||||
|
|
|
@ -54,7 +54,6 @@ NS_IMPL_ISUPPORTS1(nsMsgHdr, nsIMsgDBHdr)
|
|||
|
||||
nsMsgHdr::nsMsgHdr(nsMsgDatabase *db, nsIMdbRow *dbRow)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_mdb = db;
|
||||
Init();
|
||||
m_mdbRow = dbRow;
|
||||
|
|
|
@ -59,7 +59,6 @@ nsMsgOfflineImapOperation::nsMsgOfflineImapOperation(nsMsgDatabase *db, nsIMdbRo
|
|||
{
|
||||
NS_ASSERTION(db, "can't have null db");
|
||||
NS_ASSERTION(row, "can't have null row");
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_operation = 0;
|
||||
m_operationFlags = 0;
|
||||
m_messageKey = nsMsgKey_None;
|
||||
|
|
|
@ -78,7 +78,6 @@ void nsMsgThread::Init()
|
|||
m_mdbDB = nsnull;
|
||||
m_metaRow = nsnull;
|
||||
m_cachedValuesInitialized = PR_FALSE;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -646,7 +645,6 @@ nsMsgThreadEnumerator::nsMsgThreadEnumerator(nsMsgThread *thread, nsMsgKey start
|
|||
: mRowCursor(nsnull), mDone(PR_FALSE),
|
||||
mFilter(filter), mClosure(closure), mFoundChildren(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mThreadParentKey = startKey;
|
||||
mChildIndex = 0;
|
||||
mThread = thread;
|
||||
|
|
|
@ -397,7 +397,6 @@ TokenStreamListener::TokenStreamListener(TokenAnalyzer* analyzer)
|
|||
: mAnalyzer(analyzer),
|
||||
mBuffer(NULL), mBufferSize(kBufferSize), mLeftOverCount(0)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
TokenStreamListener::~TokenStreamListener()
|
||||
|
@ -511,8 +510,6 @@ nsBayesianFilter::nsBayesianFilter()
|
|||
: mGoodCount(0), mBadCount(0),
|
||||
mBatchLevel(0), mTrainingDataDirty(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
PRBool ok = (mGoodTokens && mBadTokens);
|
||||
NS_ASSERTION(ok, "error allocating tokenizers");
|
||||
if (ok)
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
|
||||
nsMsgMailView::nsMsgMailView()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_NewISupportsArray(getter_AddRefs(mViewSearchTerms));
|
||||
}
|
||||
|
||||
|
@ -108,7 +107,6 @@ NS_IMETHODIMP nsMsgMailView::CreateTerm(nsIMsgSearchTerm **aResult)
|
|||
/////////////////////////////////////////////////////////////////////////////
|
||||
nsMsgMailViewList::nsMsgMailViewList()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
LoadMailViews();
|
||||
}
|
||||
|
||||
|
|
|
@ -112,8 +112,6 @@ NS_IMPL_ISUPPORTS2(nsMsgMdnGenerator, nsIMsgMdnGenerator, nsIUrlListener)
|
|||
|
||||
nsMsgMdnGenerator::nsMsgMdnGenerator()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
m_disposeType = eDisplayed;
|
||||
m_outputStream = nsnull;
|
||||
m_reallySendMdn = PR_FALSE;
|
||||
|
|
|
@ -105,7 +105,6 @@ nsPalmSyncSupport::nsPalmSyncSupport()
|
|||
: m_dwRegister(0),
|
||||
m_nsPalmSyncFactory(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPalmSyncSupport::~nsPalmSyncSupport()
|
||||
|
|
|
@ -43,7 +43,6 @@ NS_IMPL_ISUPPORTS1(nsEncryptedSMIMEURIsService, nsIEncryptedSMIMEURIsService)
|
|||
|
||||
nsEncryptedSMIMEURIsService::nsEncryptedSMIMEURIsService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsEncryptedSMIMEURIsService::~nsEncryptedSMIMEURIsService()
|
||||
|
|
|
@ -193,7 +193,6 @@ NS_IMPL_ISUPPORTS1(nsMsgSMIMEComposeFields, nsIMsgSMIMECompFields)
|
|||
nsMsgSMIMEComposeFields::nsMsgSMIMEComposeFields()
|
||||
:mSignMessage(PR_FALSE), mAlwaysEncryptMessage(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgSMIMEComposeFields::~nsMsgSMIMEComposeFields()
|
||||
|
@ -232,7 +231,6 @@ NS_IMPL_ISUPPORTS1(nsMsgComposeSecure, nsIMsgComposeSecure)
|
|||
|
||||
nsMsgComposeSecure::nsMsgComposeSecure()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
/* member initializers and constructor code */
|
||||
mStream = 0;
|
||||
mDataHash = 0;
|
||||
|
|
|
@ -52,7 +52,6 @@ NS_IMPL_ISUPPORTS1(nsSMimeJSHelper, nsISMimeJSHelper)
|
|||
|
||||
nsSMimeJSHelper::nsSMimeJSHelper()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsSMimeJSHelper::~nsSMimeJSHelper()
|
||||
|
|
|
@ -99,7 +99,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS3(nsIMAPHostSessionList,
|
|||
|
||||
nsIMAPHostSessionList::nsIMAPHostSessionList()
|
||||
{
|
||||
NS_INIT_ISUPPORTS ();
|
||||
gCachedHostInfoMonitor = PR_NewMonitor(/* "accessing-hostlist-monitor"*/);
|
||||
fHostInfoList = nsnull;
|
||||
}
|
||||
|
|
|
@ -118,7 +118,6 @@ nsImapFlagAndUidState::nsImapFlagAndUidState(PRInt32 numberOfMessages, PRUint16
|
|||
fSupportedUserFlags = flags;
|
||||
fNumberDeleted = 0;
|
||||
m_customFlagsHash = nsnull;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImapFlagAndUidState::nsImapFlagAndUidState(const nsImapFlagAndUidState& state,
|
||||
|
@ -134,7 +133,6 @@ nsImapFlagAndUidState::nsImapFlagAndUidState(const nsImapFlagAndUidState& state,
|
|||
fSupportedUserFlags = flags;
|
||||
fNumberDeleted = 0;
|
||||
m_customFlagsHash = nsnull;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
/* static */PRBool PR_CALLBACK nsImapFlagAndUidState::FreeCustomFlags(nsHashKey *aKey, void *aData,
|
||||
|
|
|
@ -120,7 +120,6 @@ NS_INTERFACE_MAP_END_INHERITING(nsMsgIncomingServer)
|
|||
|
||||
nsImapIncomingServer::nsImapIncomingServer()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
nsresult rv;
|
||||
rv = NS_NewISupportsArray(getter_AddRefs(m_connectionCache));
|
||||
rv = NS_NewISupportsArray(getter_AddRefs(m_urlQueue));
|
||||
|
|
|
@ -6430,7 +6430,6 @@ nsImapMailCopyState::nsImapMailCopyState() :
|
|||
m_totalCount(0), m_streamCopy(PR_FALSE), m_dataBuffer(nsnull),
|
||||
m_dataBufferSize(0), m_leftOver(0), m_allowUndo(PR_FALSE)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImapMailCopyState::~nsImapMailCopyState()
|
||||
|
|
|
@ -53,7 +53,6 @@ nsImapMoveCoalescer::nsImapMoveCoalescer(nsIMsgFolder *sourceFolder, nsIMsgWindo
|
|||
{
|
||||
m_sourceFolder = sourceFolder;
|
||||
m_msgWindow = msgWindow;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImapMoveCoalescer::~nsImapMoveCoalescer()
|
||||
|
|
|
@ -56,7 +56,6 @@ NS_IMPL_ISUPPORTS2(nsImapOfflineSync, nsIUrlListener, nsIMsgCopyServiceListener)
|
|||
|
||||
nsImapOfflineSync::nsImapOfflineSync(nsIMsgWindow *window, nsIUrlListener *listener, nsIMsgFolder *singleFolderOnly)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_singleFolderToUpdate = singleFolderOnly;
|
||||
m_window = window;
|
||||
// not the perfect place for this, but I think it will work.
|
||||
|
|
|
@ -135,7 +135,6 @@ static const PRInt32 kNumHdrsToXfer=10;
|
|||
|
||||
nsMsgImapHdrXferInfo::nsMsgImapHdrXferInfo()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_NewISupportsArray(getter_AddRefs(m_hdrInfos));
|
||||
m_nextFreeHdrInfo = 0;
|
||||
}
|
||||
|
@ -214,7 +213,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsMsgImapLineDownloadCache, nsIImapHeaderInfo)
|
|||
// **** helper class for downloading line ****
|
||||
nsMsgImapLineDownloadCache::nsMsgImapLineDownloadCache()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
fLineInfo = (msg_line_info *) PR_CALLOC(sizeof( msg_line_info));
|
||||
fLineInfo->uidOfMessage = nsMsgKey_None;
|
||||
m_msgSize = 0;
|
||||
|
@ -351,7 +349,6 @@ nsresult nsImapProtocol::GlobalInitialization()
|
|||
nsImapProtocol::nsImapProtocol() :
|
||||
m_parser(*this)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_flags = 0;
|
||||
m_urlInProgress = PR_FALSE;
|
||||
m_socketIsOpen = PR_FALSE;
|
||||
|
@ -7325,7 +7322,6 @@ NS_INTERFACE_MAP_END
|
|||
|
||||
nsImapCacheStreamListener::nsImapCacheStreamListener()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsImapCacheStreamListener::~nsImapCacheStreamListener()
|
||||
|
@ -7389,7 +7385,6 @@ NS_INTERFACE_MAP_END_THREADSAFE
|
|||
|
||||
nsImapMockChannel::nsImapMockChannel()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_channelContext = nsnull;
|
||||
m_cancelStatus = NS_OK;
|
||||
mLoadFlags = 0;
|
||||
|
|
|
@ -127,7 +127,6 @@ nsImapExtensionSinkProxy::nsImapExtensionSinkProxy(nsIImapExtensionSink* aImapEx
|
|||
{
|
||||
NS_ASSERTION (aImapExtensionSink,
|
||||
"nsImapExtensionSinkProxy: invalid aImapExtensionSink");
|
||||
NS_INIT_ISUPPORTS ();
|
||||
m_realImapExtensionSink = aImapExtensionSink;
|
||||
NS_IF_ADDREF (m_realImapExtensionSink);
|
||||
}
|
||||
|
@ -271,7 +270,6 @@ nsImapMiscellaneousSinkProxy::nsImapMiscellaneousSinkProxy(
|
|||
{
|
||||
NS_ASSERTION (aImapMiscellaneousSink,
|
||||
"nsImapMiscellaneousSinkProxy: invalid aImapMiscellaneousSink");
|
||||
NS_INIT_ISUPPORTS ();
|
||||
m_realImapMiscellaneousSink = aImapMiscellaneousSink;
|
||||
NS_IF_ADDREF (m_realImapMiscellaneousSink);
|
||||
}
|
||||
|
|
|
@ -128,7 +128,6 @@ NS_IMPL_QUERY_INTERFACE6(nsImapService,
|
|||
|
||||
nsImapService::nsImapService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
mPrintingOperation = PR_FALSE;
|
||||
if (!gInitialized)
|
||||
{
|
||||
|
|
|
@ -288,7 +288,6 @@ nsImapMailboxSpec::nsImapMailboxSpec()
|
|||
|
||||
onlineVerified = PR_FALSE;
|
||||
namespaceForFolder = nsnull;
|
||||
NS_INIT_ISUPPORTS ();
|
||||
}
|
||||
|
||||
nsImapMailboxSpec::~nsImapMailboxSpec()
|
||||
|
|
|
@ -86,8 +86,6 @@ PRLogModuleInfo *COMM4XLOGMODULE = nsnull;
|
|||
|
||||
nsComm4xMailImport::nsComm4xMailImport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Init logging module.
|
||||
if (!COMM4XLOGMODULE)
|
||||
COMM4XLOGMODULE = PR_NewLogModule("IMPORT");
|
||||
|
@ -188,7 +186,6 @@ NS_IMETHODIMP nsComm4xMailImport::GetImportInterface(const char *pImportType, ns
|
|||
|
||||
ImportComm4xMailImpl::ImportComm4xMailImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_pBundleProxy = nsnull;
|
||||
}
|
||||
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
|
||||
nsComm4xProfile::nsComm4xProfile()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsComm4xProfile::~nsComm4xProfile()
|
||||
|
|
|
@ -95,7 +95,6 @@ class EudoraSendListener : public nsIMsgSendListener
|
|||
{
|
||||
public:
|
||||
EudoraSendListener() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_done = PR_FALSE;
|
||||
m_location = nsnull;
|
||||
}
|
||||
|
|
|
@ -203,8 +203,6 @@ void ConvertToUnicode(const char *pStr, nsString &dist)
|
|||
|
||||
nsEudoraImport::nsEudoraImport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Init logging module.
|
||||
if (!EUDORALOGMODULE)
|
||||
EUDORALOGMODULE = PR_NewLogModule("IMPORT");
|
||||
|
@ -361,7 +359,6 @@ nsresult ImportEudoraMailImpl::Create(nsIImportMail** aImport)
|
|||
|
||||
ImportEudoraMailImpl::ImportEudoraMailImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -579,7 +576,6 @@ nsresult ImportEudoraAddressImpl::Create(nsIImportAddressBooks** aImport)
|
|||
|
||||
ImportEudoraAddressImpl::ImportEudoraAddressImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -55,8 +55,6 @@ nsresult nsEudoraSettings::Create(nsIImportSettings** aImport)
|
|||
|
||||
nsEudoraSettings::nsEudoraSettings()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
m_pLocation = nsnull;
|
||||
}
|
||||
|
||||
|
|
|
@ -183,8 +183,6 @@ private:
|
|||
|
||||
nsOEImport::nsOEImport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Init logging module.
|
||||
if (!OELOGMODULE)
|
||||
OELOGMODULE = PR_NewLogModule("IMPORT");
|
||||
|
@ -341,7 +339,6 @@ nsresult ImportOEMailImpl::Create(nsIImportMail** aImport)
|
|||
|
||||
ImportOEMailImpl::ImportOEMailImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -553,7 +550,6 @@ nsresult ImportOEAddressImpl::Create(nsIImportAddressBooks** aImport)
|
|||
|
||||
ImportOEAddressImpl::ImportOEAddressImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_pWab = nsnull;
|
||||
}
|
||||
|
||||
|
|
|
@ -102,7 +102,6 @@ nsresult nsOESettings::Create(nsIImportSettings** aImport)
|
|||
|
||||
nsOESettings::nsOESettings()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsOESettings::~nsOESettings()
|
||||
|
|
|
@ -95,7 +95,6 @@ class OutlookSendListener : public nsIMsgSendListener
|
|||
{
|
||||
public:
|
||||
OutlookSendListener() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_done = PR_FALSE;
|
||||
m_location = nsnull;
|
||||
}
|
||||
|
|
|
@ -184,8 +184,6 @@ private:
|
|||
|
||||
nsOutlookImport::nsOutlookImport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Init logging module.
|
||||
if (!OUTLOOKLOGMODULE)
|
||||
OUTLOOKLOGMODULE = PR_NewLogModule("IMPORT");
|
||||
|
@ -342,7 +340,6 @@ nsresult ImportOutlookMailImpl::Create(nsIImportMail** aImport)
|
|||
|
||||
ImportOutlookMailImpl::ImportOutlookMailImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
|
||||
|
@ -538,7 +535,6 @@ nsresult ImportOutlookAddressImpl::Create(nsIImportAddressBooks** aImport)
|
|||
|
||||
ImportOutlookAddressImpl::ImportOutlookAddressImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_msgCount = 0;
|
||||
m_msgTotal = 0;
|
||||
}
|
||||
|
|
|
@ -100,7 +100,6 @@ nsresult nsOutlookSettings::Create(nsIImportSettings** aImport)
|
|||
|
||||
nsOutlookSettings::nsOutlookSettings()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsOutlookSettings::~nsOutlookSettings()
|
||||
|
|
|
@ -63,7 +63,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsImportABDescriptor, nsIImportABDescriptor)
|
|||
|
||||
nsImportABDescriptor::nsImportABDescriptor()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_ref = 0;
|
||||
m_id = 0;
|
||||
m_size = 0;
|
||||
|
|
|
@ -184,7 +184,6 @@ nsresult NS_NewGenericAddressBooks(nsIImportGeneric** aImportGeneric)
|
|||
|
||||
nsImportGenericAddressBooks::nsImportGenericAddressBooks()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_pInterface = nsnull;
|
||||
m_pBooks = nsnull;
|
||||
m_pSuccessLog = nsnull;
|
||||
|
|
|
@ -70,7 +70,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsImportFieldMap, nsIImportFieldMap)
|
|||
|
||||
nsImportFieldMap::nsImportFieldMap()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_numFields = 0;
|
||||
m_pFields = nsnull;
|
||||
m_pActive = nsnull;
|
||||
|
|
|
@ -196,7 +196,6 @@ nsresult NS_NewGenericMail(nsIImportGeneric** aImportGeneric)
|
|||
|
||||
nsImportGenericMail::nsImportGenericMail()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_pSrcLocation = nsnull;
|
||||
m_found = PR_FALSE;
|
||||
m_userVerify = PR_FALSE;
|
||||
|
|
|
@ -63,7 +63,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsImportMailboxDescriptor, nsIImportMailboxDescrip
|
|||
|
||||
nsImportMailboxDescriptor::nsImportMailboxDescriptor()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_import = PR_TRUE;
|
||||
m_pFileSpec = nsnull;
|
||||
m_size = 0;
|
||||
|
|
|
@ -390,8 +390,6 @@ nsIImportMimeEncodeImpl::nsIImportMimeEncodeImpl()
|
|||
{
|
||||
m_pOut = nsnull;
|
||||
m_pEncode = nsnull;
|
||||
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsIImportMimeEncodeImpl::~nsIImportMimeEncodeImpl()
|
||||
|
|
|
@ -191,8 +191,6 @@ NS_IMETHODIMP NS_NewImportService( nsISupports* aOuter, REFNSIID aIID, void **aR
|
|||
|
||||
nsImportService::nsImportService() : m_pModules( nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Init logging module.
|
||||
if (!IMPORTLOGMODULE)
|
||||
IMPORTLOGMODULE = PR_NewLogModule("IMPORT");
|
||||
|
|
|
@ -128,8 +128,6 @@ private:
|
|||
|
||||
nsTextImport::nsTextImport()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Init logging module.
|
||||
if (!TEXTIMPORTLOGMODULE)
|
||||
TEXTIMPORTLOGMODULE = PR_NewLogModule("IMPORT");
|
||||
|
@ -250,8 +248,6 @@ nsresult ImportAddressImpl::Create(nsIImportAddressBooks** aImport)
|
|||
|
||||
ImportAddressImpl::ImportAddressImpl()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
m_fileLoc = nsnull;
|
||||
m_haveDelim = PR_FALSE;
|
||||
}
|
||||
|
|
|
@ -149,7 +149,6 @@ nsMsgLocalMailFolder::nsMsgLocalMailFolder(void)
|
|||
mInitialized(PR_FALSE), mCopyState(nsnull), mType(nsnull),
|
||||
mCheckForNewMessagesAfterParsing(PR_FALSE), mNumFilterClassifyRequests(0)
|
||||
{
|
||||
// NS_INIT_ISUPPORTS(); done by superclass
|
||||
}
|
||||
|
||||
nsMsgLocalMailFolder::~nsMsgLocalMailFolder(void)
|
||||
|
|
|
@ -47,7 +47,6 @@
|
|||
|
||||
nsLocalStringService::nsLocalStringService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsLocalStringService::~nsLocalStringService()
|
||||
|
|
|
@ -68,7 +68,6 @@ static NS_DEFINE_CID(kCPop3ServiceCID, NS_POP3SERVICE_CID);
|
|||
nsMailboxService::nsMailboxService()
|
||||
{
|
||||
mPrintingOperation = PR_FALSE;
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMailboxService::~nsMailboxService()
|
||||
|
|
|
@ -70,7 +70,6 @@ NS_IMPL_ISUPPORTS_INHERITED2(nsMovemailIncomingServer,
|
|||
|
||||
nsMovemailIncomingServer::nsMovemailIncomingServer()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_canHaveFilters = PR_TRUE;
|
||||
}
|
||||
|
||||
|
|
|
@ -76,7 +76,6 @@ static NS_DEFINE_CID(kPrefCID, NS_PREF_CID);
|
|||
|
||||
nsMovemailService::nsMovemailService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
#ifdef MOVEMAIL_DEBUG
|
||||
fprintf(stderr, "*** MURRR, new nsMovemailService\n");
|
||||
#endif
|
||||
|
|
|
@ -62,7 +62,6 @@ NS_IMPL_ISUPPORTS_INHERITED2(nsNoIncomingServer,
|
|||
|
||||
nsNoIncomingServer::nsNoIncomingServer()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsNoIncomingServer::~nsNoIncomingServer()
|
||||
|
|
|
@ -61,7 +61,6 @@ static NS_DEFINE_CID(kPrefCID, NS_PREF_CID);
|
|||
|
||||
nsNoneService::nsNoneService()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsNoneService::~nsNoneService()
|
||||
|
|
|
@ -266,8 +266,6 @@ nsMsgMailboxParser::~nsMsgMailboxParser()
|
|||
|
||||
void nsMsgMailboxParser::Init()
|
||||
{
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_obuffer = nsnull;
|
||||
m_obuffer_size = 0;
|
||||
m_graph_progress_total = 0;
|
||||
|
@ -501,7 +499,6 @@ NS_IMPL_ISUPPORTS1(nsParseMailMessageState, nsIMsgParseMailMsgState)
|
|||
|
||||
nsParseMailMessageState::nsParseMailMessageState()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_position = 0;
|
||||
m_IgnoreXMozillaStatus = PR_FALSE;
|
||||
m_state = nsIMsgParseMailMsgState::ParseBodyState;
|
||||
|
|
|
@ -65,7 +65,6 @@ NS_IMPL_ISUPPORTS_INHERITED2(nsPop3IncomingServer,
|
|||
|
||||
nsPop3IncomingServer::nsPop3IncomingServer()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_capabilityFlags =
|
||||
POP3_AUTH_LOGIN_UNDEFINED |
|
||||
POP3_XSENDER_UNDEFINED |
|
||||
|
|
|
@ -73,7 +73,6 @@ static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID);
|
|||
|
||||
nsPop3Service::nsPop3Service()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsPop3Service::~nsPop3Service()
|
||||
|
|
|
@ -57,7 +57,6 @@ NS_IMPL_THREADSAFE_ISUPPORTS1(nsPop3Sink, nsIPop3Sink)
|
|||
|
||||
nsPop3Sink::nsPop3Sink()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_authed = PR_FALSE;
|
||||
m_accountUrl = nsnull;
|
||||
m_biffState = 0;
|
||||
|
|
|
@ -126,7 +126,6 @@ public:
|
|||
|
||||
protected :
|
||||
nsMAPISendListener() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
m_done = PR_FALSE;
|
||||
}
|
||||
|
||||
|
|
|
@ -105,7 +105,6 @@ nsMapiSupport::nsMapiSupport()
|
|||
: m_dwRegister(0),
|
||||
m_nsMapiFactory(nsnull)
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMapiSupport::~nsMapiSupport()
|
||||
|
|
|
@ -54,8 +54,6 @@
|
|||
NS_IMPL_ISUPPORTS1(nsMapiRegistry, nsIMapiRegistry);
|
||||
|
||||
nsMapiRegistry::nsMapiRegistry() {
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
m_DefaultMailClient = m_registryUtils.IsDefaultMailClient();
|
||||
// m_ShowDialog should be initialized to false
|
||||
// if we are the default mail client.
|
||||
|
|
|
@ -55,8 +55,6 @@ NS_IMPL_ISUPPORTS1(nsMimeContentTypeHandler, nsIMimeContentTypeHandler)
|
|||
nsMimeContentTypeHandler::nsMimeContentTypeHandler(const char *aMimeType,
|
||||
MCTHCreateCTHClass callback)
|
||||
{
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
NS_ASSERTION(aMimeType, "nsMimeContentTypeHandler should be initialized with non-null mime type");
|
||||
NS_ASSERTION(callback, "nsMimeContentTypeHandler should be initialized with non-null callback");
|
||||
mimeType = PL_strdup(aMimeType);
|
||||
|
|
|
@ -85,8 +85,6 @@ NS_INTERFACE_MAP_END
|
|||
|
||||
nsMimeBaseEmitter::nsMimeBaseEmitter()
|
||||
{
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Initialize data output vars...
|
||||
mFirstHeaders = PR_TRUE;
|
||||
|
||||
|
|
|
@ -62,8 +62,6 @@ NS_INTERFACE_MAP_END
|
|||
*/
|
||||
nsMimeConverter::nsMimeConverter()
|
||||
{
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMimeConverter::~nsMimeConverter()
|
||||
|
|
|
@ -43,8 +43,6 @@
|
|||
nsMimeHeaders::nsMimeHeaders() :
|
||||
mHeaders(nsnull)
|
||||
{
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMimeHeaders::~nsMimeHeaders()
|
||||
|
|
|
@ -54,8 +54,6 @@ NS_IMPL_ISUPPORTS1(nsMimeObjectClassAccess, nsIMimeObjectClassAccess)
|
|||
*/
|
||||
nsMimeObjectClassAccess::nsMimeObjectClassAccess()
|
||||
{
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMimeObjectClassAccess::~nsMimeObjectClassAccess()
|
||||
|
|
|
@ -90,8 +90,6 @@ static char *msg_make_full_address(const char* name, const char* addr);
|
|||
|
||||
nsMsgHeaderParser::nsMsgHeaderParser()
|
||||
{
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
}
|
||||
|
||||
nsMsgHeaderParser::~nsMsgHeaderParser()
|
||||
|
|
|
@ -532,9 +532,6 @@ nsStreamConverter::InternalCleanup(void)
|
|||
*/
|
||||
nsStreamConverter::nsStreamConverter()
|
||||
{
|
||||
/* the following macro is used to initialize the ref counting data */
|
||||
NS_INIT_ISUPPORTS();
|
||||
|
||||
// Init member variables...
|
||||
mOverrideFormat = nsnull;
|
||||
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче