Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions
nsMsgAccountManager.cpp File Reference
#include "nsIComponentManager.h"
#include "nsIServiceManager.h"
#include "nsISupportsArray.h"
#include "nsMsgAccountManager.h"
#include "nsMsgBaseCID.h"
#include "nsMsgCompCID.h"
#include "nsMsgDBCID.h"
#include "prmem.h"
#include "prcmon.h"
#include "prthread.h"
#include "plstr.h"
#include "nsString.h"
#include "nsXPIDLString.h"
#include "nsUnicharUtils.h"
#include "nscore.h"
#include "nsEscape.h"
#include "nsCRT.h"
#include "prprf.h"
#include "nsIMsgFolderCache.h"
#include "nsFileStream.h"
#include "nsIFileStreams.h"
#include "nsMsgUtils.h"
#include "nsIFileSpec.h"
#include "nsILocalFile.h"
#include "nsIURL.h"
#include "nsNetCID.h"
#include "nsIPrefService.h"
#include "nsIPrefBranch.h"
#include "nsISmtpService.h"
#include "nsIMsgBiffManager.h"
#include "nsIMsgPurgeService.h"
#include "nsIObserverService.h"
#include "nsIMsgMailSession.h"
#include "nsIEventQueueService.h"
#include "nsIDirectoryService.h"
#include "nsAppDirectoryServiceDefs.h"
#include "nsMsgFolderFlags.h"
#include "nsIRDFService.h"
#include "nsRDFCID.h"
#include "nsIImapIncomingServer.h"
#include "nsIImapUrl.h"
#include "nsIMessengerOSIntegration.h"
#include "nsICategoryManager.h"
#include "nsISupportsPrimitives.h"
#include "nsMsgFilterService.h"
#include "nsIMsgFilter.h"
#include "nsIMsgSearchSession.h"
#include "nsIDBChangeListener.h"
#include "nsIDBFolderInfo.h"
#include "nsIMsgHdr.h"
#include "nsILineInputStream.h"
#include "nsNetUtil.h"

Go to the source code of this file.

Classes

struct  _findServerEntry
struct  _findServerByKeyEntry
struct  _findIdentitiesByServerEntry
struct  _findServersByIdentityEntry
class  VirtualFolderChangeListener

Defines

#define PREF_MAIL_ACCOUNTMANAGER_ACCOUNTS   "mail.accountmanager.accounts"
#define PREF_MAIL_ACCOUNTMANAGER_DEFAULTACCOUNT   "mail.accountmanager.defaultaccount"
#define PREF_MAIL_ACCOUNTMANAGER_LOCALFOLDERSSERVER   "mail.accountmanager.localfoldersserver"
#define PREF_MAIL_SERVER_PREFIX   "mail.server."
#define ACCOUNT_PREFIX   "account"
#define SERVER_PREFIX   "server"
#define ID_PREFIX   "id"
#define ABOUT_TO_GO_OFFLINE_TOPIC   "network:offline-about-to-go-offline"
#define ACCOUNT_DELIMITER   ","
#define APPEND_ACCOUNTS_VERSION_PREF_NAME   "append_preconfig_accounts.version"
#define MAILNEWS_ROOT_PREF   "mailnews."
#define PREF_MAIL_ACCOUNTMANAGER_APPEND_ACCOUNTS   "mail.accountmanager.appendaccounts"

Typedefs

typedef struct _findServerEntry findServerEntry
typedef struct
_findServerByKeyEntry 
findServerByKeyEntry
typedef struct
_findIdentitiesByServerEntry 
findIdentitiesByServerEntry
typedef struct
_findServersByIdentityEntry 
findServersByIdentityEntry
typedef struct
_findAccountByKeyEntry 
findAccountByKeyEntry

Functions

static NS_DEFINE_CID (kMsgAccountCID, NS_MSGACCOUNT_CID)
static NS_DEFINE_CID (kMsgFolderCacheCID, NS_MSGFOLDERCACHE_CID)
static NS_DEFINE_CID (kEventQueueServiceCID, NS_EVENTQUEUESERVICE_CID)
 NS_IMPL_THREADSAFE_ISUPPORTS5 (nsMsgAccountManager, nsIMsgAccountManager, nsIObserver, nsISupportsWeakReference, nsIUrlListener, nsIFolderListener) nsMsgAccountManager

Class Documentation

struct _findServerEntry

Definition at line 119 of file nsMsgAccountManager.cpp.

Collaboration diagram for _findServerEntry:
Class Members
const char * hostname
PRInt32 port
nsIMsgIncomingServer * server
const char * type
PRBool useRealSetting
const char * username
struct _findServerByKeyEntry

Definition at line 128 of file nsMsgAccountManager.cpp.

Collaboration diagram for _findServerByKeyEntry:
Class Members
PRInt32 index
const char * key
nsISmtpServer * server
struct _findIdentitiesByServerEntry

Definition at line 135 of file nsMsgAccountManager.cpp.

Collaboration diagram for _findIdentitiesByServerEntry:
Class Members
nsISupportsArray * identities
nsIMsgIncomingServer * server
struct _findServersByIdentityEntry

Definition at line 140 of file nsMsgAccountManager.cpp.

Collaboration diagram for _findServersByIdentityEntry:
Class Members
nsIMsgIdentity * identity
nsISupportsArray * servers
struct _findAccountByKeyEntry

Definition at line 145 of file nsMsgAccountManager.cpp.

Collaboration diagram for _findAccountByKeyEntry:
Class Members
nsIMsgAccount * account
const char * key

Define Documentation

#define ABOUT_TO_GO_OFFLINE_TOPIC   "network:offline-about-to-go-offline"

Definition at line 107 of file nsMsgAccountManager.cpp.

Definition at line 108 of file nsMsgAccountManager.cpp.

#define ACCOUNT_PREFIX   "account"

Definition at line 104 of file nsMsgAccountManager.cpp.

#define APPEND_ACCOUNTS_VERSION_PREF_NAME   "append_preconfig_accounts.version"

Definition at line 109 of file nsMsgAccountManager.cpp.

#define ID_PREFIX   "id"

Definition at line 106 of file nsMsgAccountManager.cpp.

#define MAILNEWS_ROOT_PREF   "mailnews."

Definition at line 110 of file nsMsgAccountManager.cpp.

#define PREF_MAIL_ACCOUNTMANAGER_ACCOUNTS   "mail.accountmanager.accounts"

Definition at line 100 of file nsMsgAccountManager.cpp.

#define PREF_MAIL_ACCOUNTMANAGER_APPEND_ACCOUNTS   "mail.accountmanager.appendaccounts"

Definition at line 111 of file nsMsgAccountManager.cpp.

#define PREF_MAIL_ACCOUNTMANAGER_DEFAULTACCOUNT   "mail.accountmanager.defaultaccount"

Definition at line 101 of file nsMsgAccountManager.cpp.

#define PREF_MAIL_ACCOUNTMANAGER_LOCALFOLDERSSERVER   "mail.accountmanager.localfoldersserver"

Definition at line 102 of file nsMsgAccountManager.cpp.

#define PREF_MAIL_SERVER_PREFIX   "mail.server."

Definition at line 103 of file nsMsgAccountManager.cpp.

#define SERVER_PREFIX   "server"

Definition at line 105 of file nsMsgAccountManager.cpp.


Typedef Documentation


Function Documentation

static NS_DEFINE_CID ( kMsgAccountCID  ,
NS_MSGACCOUNT_CID   
) [static]
static NS_DEFINE_CID ( kMsgFolderCacheCID  ,
NS_MSGFOLDERCACHE_CID   
) [static]

Definition at line 151 of file nsMsgAccountManager.cpp.

                                         :
  m_accountsLoaded(PR_FALSE),
  m_emptyTrashInProgress(PR_FALSE),
  m_cleanupInboxInProgress(PR_FALSE),
  m_haveShutdown(PR_FALSE),
  m_shutdownInProgress(PR_FALSE),
  m_userAuthenticated(PR_FALSE),
  m_loadingVirtualFolders(PR_FALSE),
  m_virtualFoldersLoaded(PR_FALSE)
{
}