78143; correct fix for senna build bustage due to my checkins last night.

adding msgimap to requires and restoring original changes.
This commit is contained in:
naving%netscape.com 2001-04-30 23:31:43 +00:00
Родитель ca2d1c39d1
Коммит 214a6d2dbc
4 изменённых файлов: 4 добавлений и 9 удалений

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

@ -30,7 +30,7 @@ MODULE = msgbase
LIBRARY_NAME = mailnews
EXPORT_LIBRARY = 1
IS_COMPONENT = 1
REQUIRES = xpcom string necko intl locale timer rdf dom js docshell widget layout webshell mime uriloader mailnews mork txmgr pref msgcompose msgbaseutil appcomps msgdb editor appshell xuldoc caps msgnews gfx2 mozcomps
REQUIRES = xpcom string necko intl locale timer rdf dom js docshell widget layout webshell mime uriloader mailnews mork txmgr pref msgcompose msgbaseutil appcomps msgdb editor appshell xuldoc caps msgnews gfx2 mozcomps msgimap
ifeq ($(USE_SHORT_LIBNAME),1)
EXTRA_DSO_LIBS = msgbsutl

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

@ -34,7 +34,6 @@
#include "nsXPIDLString.h"
#include "nsQuickSort.h"
#include "nsIMsgImapMailFolder.h"
#include "nsIImapIncomingServer.h"
#include "nsImapCore.h"
#include "nsMsgFolderFlags.h"
@ -4192,7 +4191,6 @@ nsresult nsMsgDBView::AdjustRowCount(PRInt32 rowCountBeforeSort, PRInt32 rowCoun
nsresult nsMsgDBView::GetImapDeleteModel(nsIMsgFolder *folder)
{
nsresult rv = NS_OK;
nsMsgImapDeleteModel deleteModel;
nsCOMPtr <nsIMsgIncomingServer> server;
if (folder) //for the search view
folder->GetServer(getter_AddRefs(server));
@ -4200,9 +4198,6 @@ nsresult nsMsgDBView::GetImapDeleteModel(nsIMsgFolder *folder)
m_folder->GetServer(getter_AddRefs(server));
nsCOMPtr<nsIImapIncomingServer> imapServer = do_QueryInterface(server, &rv);
if (NS_SUCCEEDED(rv) && imapServer )
{
imapServer->GetDeleteModel(&deleteModel);
mDeleteModel = deleteModel;
}
imapServer->GetDeleteModel(&mDeleteModel);
return rv;
}

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

@ -41,6 +41,7 @@
#include "nsIMsgHeaderParser.h"
#include "nsIDOMElement.h"
#include "nsIAtom.h"
#include "nsIImapIncomingServer.h"
#include "nsIStringBundle.h"
@ -248,7 +249,7 @@ protected:
nsMsgKeyArray m_keys;
nsUInt32Array m_flags;
nsUint8Array m_levels;
long mDeleteModel;
nsMsgImapDeleteModel mDeleteModel;
// cache the most recently asked for header and corresponding msgKey.
nsCOMPtr <nsIMsgDBHdr> m_cachedHdr;

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

@ -30,7 +30,6 @@
#include "nsMsgBaseCID.h"
#include "nsIMsgCopyService.h"
#include "nsICopyMsgStreamListener.h"
#include "nsIImapIncomingServer.h"
static NS_DEFINE_CID(kMsgCopyServiceCID, NS_MSGCOPYSERVICE_CID);
static NS_DEFINE_CID(kCopyMessageStreamListenerCID, NS_COPYMESSAGESTREAMLISTENER_CID);