nsIMsgLocalMailFolder

IID:260398bd-9152-4b10-af4e-3126dcd37837
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRBool checkForNewMessagesAfterParsing


Methods

void addMessage ( char* message ) void copyAllSubFolders ( nsIMsgFolder srcFolder , nsIMsgWindow msgWindow , nsIMsgCopyServiceListener listener ) void copyFolderLocal ( nsIMsgFolder srcFolder , PRBool isMove , nsIMsgWindow msgWindow , nsIMsgCopyServiceListener listener ) void deleteDownloadMsg ( nsIMsgDBHdr msgHdr , out PRBool doSelect ) nsIMsgDatabase getDatabaseWithReparse ( nsIUrlListener reparseUrlListener , nsIMsgWindow msgWindow ) nsIMsgDatabase getDatabaseWOReparse ( ) [noscript] void getFolderScanState ( nsLocalFolderScanState* state ) [noscript] void getUidlFromFolder ( nsLocalFolderScanState* state , nsIMsgDBHdr msgHdr ) [noscript] void markMsgsOnPop3Server ( nsISupportsArray messages , PRInt32 mark ) void notifyDelete ( ) void onCopyCompleted ( nsISupports srcSupport , PRBool moveCopySucceeded ) void parseFolder ( nsIMsgWindow msgWindow , nsIUrlListener listener ) void refreshSizeOnDisk ( ) void selectDownloadMsg ( ) void setFlagsOnDefaultMailboxes ( PRUint32 flags ) PRBool warnIfLocalFileTooBig ( nsIMsgWindow window )

void addMessage ( char* message )

Arguments:
message

void copyAllSubFolders ( nsIMsgFolder srcFolder , nsIMsgWindow msgWindow , nsIMsgCopyServiceListener listener )

Arguments:
srcFolder
msgWindow
listener

void copyFolderLocal ( nsIMsgFolder srcFolder , PRBool isMove , nsIMsgWindow msgWindow , nsIMsgCopyServiceListener listener )

Arguments:
srcFolder
isMove
msgWindow
listener

void deleteDownloadMsg ( nsIMsgDBHdr msgHdr , out PRBool doSelect )

Functions for updating the UI while running DownloadMessagesForOffline: delete the old message before adding its newly downloaded body, and select the new message after it has replaced the old one

Arguments:
msgHdr
doSelect

nsIMsgDatabase getDatabaseWithReparse ( nsIUrlListener reparseUrlListener , nsIMsgWindow msgWindow )

Arguments:
reparseUrlListener
msgWindow

nsIMsgDatabase getDatabaseWOReparse ( )


void getFolderScanState ( nsLocalFolderScanState* state )

Functions for grubbing thru a folder to find the Uidl for a given msgDBHdr

Arguments:
state

void getUidlFromFolder ( nsLocalFolderScanState* state , nsIMsgDBHdr msgHdr )

Arguments:
state
msgHdr

void markMsgsOnPop3Server ( nsISupportsArray messages , PRInt32 mark )

Arguments:
messages
mark

void notifyDelete ( )


void onCopyCompleted ( nsISupports srcSupport , PRBool moveCopySucceeded )

Arguments:
srcSupport
moveCopySucceeded

void parseFolder ( nsIMsgWindow msgWindow , nsIUrlListener listener )

Arguments:
msgWindow
listener

void refreshSizeOnDisk ( )


void selectDownloadMsg ( )


void setFlagsOnDefaultMailboxes ( PRUint32 flags )

Set the default flags on the subfolders of this folder, such as Drafts, Templates, etc you should bitwise OR all the flags all mailboxes you want to flag, this function will be smart and find the right names. like MSG_FOLDER_FLAG_INBOX MSG_FOLDER_FLAG_DRAFTS etc

Arguments:
flags

PRBool warnIfLocalFileTooBig ( nsIMsgWindow window )

Arguments:
window

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com