Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Public Attributes
nsIMessenger Interface Reference

import "nsIMessenger.idl";

Inheritance diagram for nsIMessenger:
Inheritance graph
[legend]
Collaboration diagram for nsIMessenger:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void setDisplayCharset (in string aCharset)
void SetWindow (in nsIDOMWindowInternal ptr, in nsIMsgWindow msgWindow)
void DeleteFolders (in nsIRDFCompositeDataSource db, in nsIRDFResource parentFolder, in nsIRDFResource folder)
void CopyMessages (in nsIRDFCompositeDataSource database, in nsIRDFResource srcResource, in nsIRDFResource dstResource, in nsISupportsArray messages, in boolean isMove)
void CopyFolders (in nsIRDFCompositeDataSource database, in nsIRDFResource dstResource, in nsISupportsArray folders, in boolean isMoveFolder)
void OpenURL (in string aURL)
void loadURL (in nsIDOMWindowInternal ptr, in string aURL)
 load a custom message by url, e.g load a attachment as a email
void launchExternalURL (in string aURL)
void RenameFolder (in nsIRDFCompositeDataSource db, in nsIRDFResource folder, in wstring name)
void CompactFolder (in nsIRDFCompositeDataSource db, in nsIRDFResource folder, in boolean forAll)
void EmptyTrash (in nsIRDFCompositeDataSource db, in nsIRDFResource folder)
boolean CanUndo ()
boolean CanRedo ()
unsigned long GetUndoTransactionType ()
unsigned long GetRedoTransactionType ()
void Undo (in nsIMsgWindow msgWindow)
void Redo (in nsIMsgWindow msgWindow)
void sendUnsentMessages (in nsIMsgIdentity aIdentity, in nsIMsgWindow aMsgWindow)
void SetDocumentCharset (in string characterSet)
void saveAs (in string aURI, in boolean aAsFile, in nsIMsgIdentity aIdentity, in wstring aMsgFilename)
void openAttachment (in string contentTpe, in string url, in string displayName, in string messageUri, in boolean isExternalAttachment)
void saveAttachment (in string contentTpe, in string url, in string displayName, in string messageUri, in boolean isExternalAttachment)
void saveAllAttachments (in unsigned long count,[array, size_is(count)] in string contentTypeArray,[array, size_is(count)] in string urlArray,[array, size_is(count)] in string displayNameArray,[array, size_is(count)] in string messageUriArray)
void detachAttachment (in string contentTpe, in string url, in string displayName, in string messageUri, in boolean saveFirst)
void detachAllAttachments (in unsigned long count,[array, size_is(count)] in string contentTypeArray,[array, size_is(count)] in string urlArray,[array, size_is(count)] in string displayNameArray,[array, size_is(count)] in string messageUriArray, in boolean saveFirst)
nsILocalFile saveAttachmentToFolder (in string contentType, in string url, in string displayName, in string messageUri, in nsILocalFile aDestFolder)
nsIMsgMessageService messageServiceFromURI (in string aUri)
nsIMsgDBHdr msgHdrFromURI (in string aUri)
string getMsgUriAtNavigatePos (in long aPos)
string getFolderUriAtNavigatePos (in long aPos)
void getNavigateHistory (out unsigned long aCurPos, out unsigned long aCount,[array, size_is(aCount)] out string aHistory)

Public Attributes

const long eUnknown = 0
const long eDeleteMsg = 1
const long eMoveMsg = 2
const long eCopyMsg = 3
readonly attribute
nsITransactionManager 
transactionManager
attribute boolean sendingUnsentMsgs
readonly attribute string lastDisplayedMessageUri
attribute long navigatePos

Detailed Description

Definition at line 52 of file nsIMessenger.idl.


Member Function Documentation

void nsIMessenger::CopyFolders ( in nsIRDFCompositeDataSource  database,
in nsIRDFResource  dstResource,
in nsISupportsArray  folders,
in boolean  isMoveFolder 
)
void nsIMessenger::CopyMessages ( in nsIRDFCompositeDataSource  database,
in nsIRDFResource  srcResource,
in nsIRDFResource  dstResource,
in nsISupportsArray  messages,
in boolean  isMove 
)
void nsIMessenger::detachAllAttachments ( in unsigned long  count,
[array, size_is(count)] in string  contentTypeArray,
[array, size_is(count)] in string  urlArray,
[array, size_is(count)] in string  displayNameArray,
[array, size_is(count)] in string  messageUriArray,
in boolean  saveFirst 
)
void nsIMessenger::detachAttachment ( in string  contentTpe,
in string  url,
in string  displayName,
in string  messageUri,
in boolean  saveFirst 
)
void nsIMessenger::getNavigateHistory ( out unsigned long  aCurPos,
out unsigned long  aCount,
[array, size_is(aCount)] out string  aHistory 
)

load a custom message by url, e.g load a attachment as a email

void nsIMessenger::openAttachment ( in string  contentTpe,
in string  url,
in string  displayName,
in string  messageUri,
in boolean  isExternalAttachment 
)
void nsIMessenger::saveAllAttachments ( in unsigned long  count,
[array, size_is(count)] in string  contentTypeArray,
[array, size_is(count)] in string  urlArray,
[array, size_is(count)] in string  displayNameArray,
[array, size_is(count)] in string  messageUriArray 
)
void nsIMessenger::saveAs ( in string  aURI,
in boolean  aAsFile,
in nsIMsgIdentity  aIdentity,
in wstring  aMsgFilename 
)
void nsIMessenger::saveAttachment ( in string  contentTpe,
in string  url,
in string  displayName,
in string  messageUri,
in boolean  isExternalAttachment 
)
nsILocalFile nsIMessenger::saveAttachmentToFolder ( in string  contentType,
in string  url,
in string  displayName,
in string  messageUri,
in nsILocalFile  aDestFolder 
)

Member Data Documentation

Definition at line 57 of file nsIMessenger.idl.

Definition at line 55 of file nsIMessenger.idl.

Definition at line 56 of file nsIMessenger.idl.

Definition at line 54 of file nsIMessenger.idl.

Definition at line 120 of file nsIMessenger.idl.

Definition at line 133 of file nsIMessenger.idl.

Definition at line 118 of file nsIMessenger.idl.

Definition at line 61 of file nsIMessenger.idl.


The documentation for this interface was generated from the following file: