Back to index

lightning-sunbird  0.9+nobinonly
Defines | Typedefs | Functions | Variables
nsMsgDBFolder.cpp File Reference
#include "msgCore.h"
#include "nsReadableUtils.h"
#include "nsUnicharUtils.h"
#include "nsMsgDBFolder.h"
#include "nsMsgFolderFlags.h"
#include "nsIPrefBranch.h"
#include "nsIPrefService.h"
#include "nsRDFCID.h"
#include "nsNetUtil.h"
#include "nsIMsgFolderCache.h"
#include "nsIMsgFolderCacheElement.h"
#include "nsMsgBaseCID.h"
#include "nsIMsgMailNewsUrl.h"
#include "nsMsgDatabase.h"
#include "nsIMsgAccountManager.h"
#include "nsXPIDLString.h"
#include "nsEscape.h"
#include "nsLocalFolderSummarySpec.h"
#include "nsMsgI18N.h"
#include "nsNativeCharsetUtils.h"
#include "nsIFileStream.h"
#include "nsIChannel.h"
#include "nsITransport.h"
#include "nsIMsgFolderCompactor.h"
#include "nsIDocShell.h"
#include "nsIMsgWindow.h"
#include "nsIPrompt.h"
#include "nsIInterfaceRequestor.h"
#include "nsIInterfaceRequestorUtils.h"
#include "nsILocale.h"
#include "nsILocaleService.h"
#include "nsCollationCID.h"
#include "nsAbBaseCID.h"
#include "nsIAbMDBDirectory.h"
#include "nsISpamSettings.h"
#include "nsIMsgFilterPlugin.h"
#include "nsIMsgMailSession.h"
#include "nsIRDFService.h"
#include "nsTextFormatter.h"
#include "nsCPasswordManager.h"
#include "nsMsgDBCID.h"
#include "nsInt64.h"
#include "nsReadLine.h"
#include "nsParserCIID.h"
#include "nsIParser.h"
#include "nsIHTMLContentSink.h"
#include "nsIContentSerializer.h"
#include "nsLayoutCID.h"
#include "nsIHTMLToTextSink.h"
#include "nsIDocumentEncoder.h"
#include "nsIMIMEHeaderParam.h"
#include "plbase64.h"
#include <time.h>
#include "nsIMsgFolderNotificationService.h"
#include "nsMsgUtils.h"

Go to the source code of this file.

Defines

#define oneHour   3600000000U
#define PREF_MAIL_PROMPT_PURGE_THRESHOLD   "mail.prompt_purge_threshhold"
#define PREF_MAIL_PURGE_THRESHOLD   "mail.purge_threshhold"
#define PREF_MAIL_PURGE_ASK   "mail.purge.ask"
#define PREF_MAIL_WARN_FILTER_CHANGED   "mail.warn_filter_changed"
#define SUMMARY_SUFFIX   ".msf"
#define SUMMARY_SUFFIX_LEN   4

Typedefs

typedef PRBool(* nsArrayFilter )(nsISupports *element, void *data)

Functions

static NS_DEFINE_CID (kRDFServiceCID, NS_RDFSERVICE_CID)
static NS_DEFINE_CID (kCollationFactoryCID, NS_COLLATIONFACTORY_CID)
static NS_DEFINE_CID (kCMailDB, NS_MAILDB_CID)
static NS_DEFINE_CID (kParserCID, NS_PARSER_CID)
static NS_DEFINE_CID (kNavDTDCID, NS_CNAVDTD_CID)
 NS_IMPL_ISUPPORTS_INHERITED6 (nsMsgDBFolder, nsRDFResource, nsISupportsWeakReference, nsIMsgFolder, nsICollection, nsISerializable, nsIDBChangeListener, nsIUrlListener) const nsStaticAtom nsMsgDBFolder
nsresult nsGetMailFolderSeparator (nsString &result)

Variables

static PRTime gtimeOfLastPurgeCheck

Define Documentation

#define oneHour   3600000000U

Definition at line 94 of file nsMsgDBFolder.cpp.

#define PREF_MAIL_PROMPT_PURGE_THRESHOLD   "mail.prompt_purge_threshhold"

Definition at line 99 of file nsMsgDBFolder.cpp.

#define PREF_MAIL_PURGE_ASK   "mail.purge.ask"

Definition at line 101 of file nsMsgDBFolder.cpp.

#define PREF_MAIL_PURGE_THRESHOLD   "mail.purge_threshhold"

Definition at line 100 of file nsMsgDBFolder.cpp.

#define PREF_MAIL_WARN_FILTER_CHANGED   "mail.warn_filter_changed"

Definition at line 102 of file nsMsgDBFolder.cpp.

#define SUMMARY_SUFFIX   ".msf"

Definition at line 755 of file nsMsgDBFolder.cpp.

Definition at line 756 of file nsMsgDBFolder.cpp.


Typedef Documentation

typedef PRBool(* nsArrayFilter)(nsISupports *element, void *data)

Definition at line 2384 of file nsMsgDBFolder.cpp.


Function Documentation

static NS_DEFINE_CID ( kRDFServiceCID  ,
NS_RDFSERVICE_CID   
) [static]
static NS_DEFINE_CID ( kCollationFactoryCID  ,
NS_COLLATIONFACTORY_CID   
) [static]
static NS_DEFINE_CID ( kCMailDB  ,
NS_MAILDB_CID   
) [static]
static NS_DEFINE_CID ( kParserCID  ,
NS_PARSER_CID   
) [static]
static NS_DEFINE_CID ( kNavDTDCID  ,
NS_CNAVDTD_CID   
) [static]

Definition at line 141 of file nsMsgDBFolder.cpp.

                                                 {
  { "FolderLoaded", &nsMsgDBFolder::mFolderLoadedAtom },
  { "DeleteOrMoveMsgCompleted", &nsMsgDBFolder::mDeleteOrMoveMsgCompletedAtom },
  { "DeleteOrMoveMsgFailed", &nsMsgDBFolder::mDeleteOrMoveMsgFailedAtom },
  { "JunkStatusChanged", &nsMsgDBFolder::mJunkStatusChangedAtom },
  { "BiffState", &nsMsgDBFolder::kBiffStateAtom },
  { "NewMessages", &nsMsgDBFolder::kNewMessagesAtom },
  { "inVFEditSearchScope", &nsMsgDBFolder::kInVFEditSearchScopeAtom },
  { "NumNewBiffMessages", &nsMsgDBFolder::kNumNewBiffMessagesAtom },
  { "Name", &nsMsgDBFolder::kNameAtom },
  { "TotalUnreadMessages", &nsMsgDBFolder::kTotalUnreadMessagesAtom },
  { "TotalMessages", &nsMsgDBFolder::kTotalMessagesAtom },
  { "FolderSize", &nsMsgDBFolder::kFolderSizeAtom },
  { "Status", &nsMsgDBFolder::kStatusAtom },
  { "Flagged", &nsMsgDBFolder::kFlaggedAtom },
  { "Synchronize", &nsMsgDBFolder::kSynchronizeAtom },
  { "open", &nsMsgDBFolder::kOpenAtom },
  { "isDeferred", &nsMsgDBFolder::kIsDeferred }
};

Definition at line 4781 of file nsMsgDBFolder.cpp.

{
  result.AssignLiteral(".sbd");
  return NS_OK;
}

Here is the caller graph for this function:


Variable Documentation

Definition at line 97 of file nsMsgDBFolder.cpp.