Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions | Variables
nsImapIncomingServer.cpp File Reference
#include "msgCore.h"
#include "nsMsgImapCID.h"
#include "netCore.h"
#include "nsString.h"
#include "nsReadableUtils.h"
#include "nsISupportsObsolete.h"
#include "nsIMAPHostSessionList.h"
#include "nsImapIncomingServer.h"
#include "nsIMsgAccountManager.h"
#include "nsIMsgIdentity.h"
#include "nsIImapUrl.h"
#include "nsIUrlListener.h"
#include "nsIEventQueue.h"
#include "nsImapProtocol.h"
#include "nsISupportsArray.h"
#include "nsVoidArray.h"
#include "nsCOMPtr.h"
#include "nsImapStringBundle.h"
#include "nsIPrefBranch.h"
#include "nsIPrefService.h"
#include "nsMsgFolderFlags.h"
#include "prmem.h"
#include "plstr.h"
#include "nsXPIDLString.h"
#include "nsIMsgFolder.h"
#include "nsIMsgWindow.h"
#include "nsIMsgImapMailFolder.h"
#include "nsImapUtils.h"
#include "nsIRDFService.h"
#include "nsRDFCID.h"
#include "nsEnumeratorUtils.h"
#include "nsIEventQueueService.h"
#include "nsIMsgMailNewsUrl.h"
#include "nsIImapService.h"
#include "nsMsgI18N.h"
#include "nsAutoLock.h"
#include "nsIImapMockChannel.h"
#include "nsIPrompt.h"
#include "nsIWindowWatcher.h"
#include "nsICacheEntryDescriptor.h"
#include "nsImapUrl.h"
#include "nsFileStream.h"
#include "nsIMsgProtocolInfo.h"
#include "nsIMsgMailSession.h"
#include "nsIMAPNamespace.h"
#include "nsISignatureVerifier.h"
#include "nsITimer.h"
#include "nsMsgUtils.h"

Go to the source code of this file.

Defines

#define PREF_TRASH_FOLDER_NAME   "trash_folder_name"
#define DEFAULT_TRASH_FOLDER_NAME   "Trash"
#define IMAP_MSGS_URL   "chrome://messenger/locale/imapMsgs.properties"

Functions

static NS_DEFINE_CID (kImapProtocolCID, NS_IMAPPROTOCOL_CID)
static NS_DEFINE_CID (kRDFServiceCID, NS_RDFSERVICE_CID)
static NS_DEFINE_CID (kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID)
static NS_DEFINE_CID (kImapServiceCID, NS_IMAPSERVICE_CID)
static NS_DEFINE_CID (kSubscribableServerCID, NS_SUBSCRIBABLESERVER_CID)
static NS_DEFINE_CID (kCImapHostSessionListCID, NS_IIMAPHOSTSESSIONLIST_CID)
 NS_IMPL_SERVERPREF_BOOL (nsImapIncomingServer, DualUseFolders,"dual_use_folders") NS_IMPL_SERVERPREF_STR(nsImapIncomingServer
admin_url NS_IMPL_SERVERPREF_BOOL (nsImapIncomingServer, CleanupInboxOnExit,"cleanup_inbox_on_exit") NS_IMPL_SERVERPREF_BOOL(nsImapIncomingServer
admin_url offline_download NS_IMPL_SERVERPREF_INT (nsImapIncomingServer, MaximumConnectionsNumber,"max_cached_connections") NS_IMPL_SERVERPREF_INT(nsImapIncomingServer
admin_url offline_download
empty_trash_threshhold 
NS_IMPL_SERVERPREF_BOOL (nsImapIncomingServer, StoreReadMailInPFC,"store_read_mail_in_pfc") NS_IMPL_SERVERPREF_BOOL(nsImapIncomingServer
admin_url offline_download
empty_trash_threshhold
store_sent_mail_in_pfc 
NS_IMPL_SERVERPREF_BOOL (nsImapIncomingServer, DownloadBodiesOnGetNewMail,"download_bodies_on_get_new_mail") NS_IMPL_SERVERPREF_BOOL(nsImapIncomingServer
admin_url offline_download
empty_trash_threshhold
store_sent_mail_in_pfc
autosync_offline_stores 
NS_IMPL_SERVERPREF_BOOL (nsImapIncomingServer, UseIdle,"use_idle") NS_IMETHODIMP nsImapIncomingServer
 NS_IMPL_SERVERPREF_INT (nsImapIncomingServer, TimeOutLimits,"timeout") NS_IMPL_SERVERPREF_INT(nsImapIncomingServer
capability NS_IMPL_SERVERPREF_STR (nsImapIncomingServer, PersonalNamespace,"namespace.personal") NS_IMPL_SERVERPREF_STR(nsImapIncomingServer
namespace::public NS_IMPL_SERVERPREF_STR (nsImapIncomingServer, OtherUsersNamespace,"namespace.other_users") NS_IMPL_SERVERPREF_BOOL(nsImapIncomingServer
namespace::public fetch_by_chunks NS_IMPL_SERVERPREF_BOOL (nsImapIncomingServer, MimePartsOnDemand,"mime_parts_on_demand") NS_IMPL_SERVERPREF_BOOL(nsImapIncomingServer

Variables

 AdminUrl
admin_url OfflineDownload
admin_url offline_download EmptyTrashThreshhold
admin_url offline_download
empty_trash_threshhold 
StoreSentMailInPFC
admin_url offline_download
empty_trash_threshhold
store_sent_mail_in_pfc 
AutoSyncOfflineStores
 CapabilityPref
capability PublicNamespace
namespace::public FetchByChunks
namespace::public fetch_by_chunks AOLMailboxView

Define Documentation

Definition at line 99 of file nsImapIncomingServer.cpp.

#define IMAP_MSGS_URL   "chrome://messenger/locale/imapMsgs.properties"

Definition at line 2118 of file nsImapIncomingServer.cpp.

#define PREF_TRASH_FOLDER_NAME   "trash_folder_name"

Definition at line 98 of file nsImapIncomingServer.cpp.


Function Documentation

static NS_DEFINE_CID ( kImapProtocolCID  ,
NS_IMAPPROTOCOL_CID   
) [static]
static NS_DEFINE_CID ( kRDFServiceCID  ,
NS_RDFSERVICE_CID   
) [static]
static NS_DEFINE_CID ( kImapServiceCID  ,
NS_IMAPSERVICE_CID   
) [static]
static NS_DEFINE_CID ( kSubscribableServerCID  ,
NS_SUBSCRIBABLESERVER_CID   
) [static]
static NS_DEFINE_CID ( kCImapHostSessionListCID  ,
NS_IIMAPHOSTSESSIONLIST_CID   
) [static]
NS_IMPL_SERVERPREF_BOOL ( nsImapIncomingServer  ,
DualUseFolders  ,
"dual_use_folders"   
)
admin_url NS_IMPL_SERVERPREF_BOOL ( nsImapIncomingServer  ,
CleanupInboxOnExit  ,
"cleanup_inbox_on_exit"   
)
admin_url offline_download empty_trash_threshhold NS_IMPL_SERVERPREF_BOOL ( nsImapIncomingServer  ,
StoreReadMailInPFC  ,
"store_read_mail_in_pfc"   
)
admin_url offline_download empty_trash_threshhold store_sent_mail_in_pfc NS_IMPL_SERVERPREF_BOOL ( nsImapIncomingServer  ,
DownloadBodiesOnGetNewMail  ,
"download_bodies_on_get_new_mail"   
)
admin_url offline_download empty_trash_threshhold store_sent_mail_in_pfc autosync_offline_stores NS_IMPL_SERVERPREF_BOOL ( nsImapIncomingServer  ,
UseIdle  ,
"use_idle"   
)

Definition at line 352 of file nsImapIncomingServer.cpp.

{                                         
  NS_ENSURE_ARG(retval);

  nsXPIDLCString redirectorType;
  GetRedirectorType(getter_Copies(redirectorType));
  if (redirectorType.Equals("aol"))
  {
    PRBool suppressPseudoView = PR_FALSE;
    GetBoolAttribute("suppresspseudoview", &suppressPseudoView);
    if (!suppressPseudoView)
      *retval = nsMsgImapDeleteModels::DeleteNoTrash;
    else
      *retval = nsMsgImapDeleteModels::IMAPDelete;
    return NS_OK;
  }
  nsresult ret = GetIntValue("delete_model", retval);
  return ret;
}

Here is the call graph for this function:

namespace ::public fetch_by_chunks NS_IMPL_SERVERPREF_BOOL ( nsImapIncomingServer  ,
MimePartsOnDemand  ,
"mime_parts_on_demand"   
)
admin_url offline_download NS_IMPL_SERVERPREF_INT ( nsImapIncomingServer  ,
MaximumConnectionsNumber  ,
"max_cached_connections"   
)
NS_IMPL_SERVERPREF_INT ( nsImapIncomingServer  ,
TimeOutLimits  ,
"timeout"   
)
capability NS_IMPL_SERVERPREF_STR ( nsImapIncomingServer  ,
PersonalNamespace  ,
"namespace.personal"   
)
namespace ::public NS_IMPL_SERVERPREF_STR ( nsImapIncomingServer  ,
OtherUsersNamespace  ,
"namespace.other_users"   
)

Variable Documentation

Definition at line 325 of file nsImapIncomingServer.cpp.

namespace ::public fetch_by_chunks AOLMailboxView

Definition at line 417 of file nsImapIncomingServer.cpp.

admin_url offline_download empty_trash_threshhold store_sent_mail_in_pfc AutoSyncOfflineStores

Definition at line 349 of file nsImapIncomingServer.cpp.

Definition at line 399 of file nsImapIncomingServer.cpp.

admin_url offline_download EmptyTrashThreshhold

Definition at line 337 of file nsImapIncomingServer.cpp.

namespace ::public FetchByChunks

Definition at line 411 of file nsImapIncomingServer.cpp.

admin_url OfflineDownload

Definition at line 331 of file nsImapIncomingServer.cpp.

capability PublicNamespace

Definition at line 405 of file nsImapIncomingServer.cpp.

admin_url offline_download empty_trash_threshhold StoreSentMailInPFC

Definition at line 343 of file nsImapIncomingServer.cpp.