зеркало из https://github.com/mozilla/pjs.git
Add mailbox copy message interface.
This commit is contained in:
Родитель
6830bdc2c8
Коммит
45735b6990
|
@ -67,6 +67,16 @@ public:
|
|||
NS_IMETHOD ParseMailbox(const nsFileSpec& aMailboxPath, nsIStreamListener * aMailboxParser,
|
||||
nsIUrlListener * aUrlListener, nsIURL ** aURL) = 0;
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Pass in the URI for the message you want to have copied. We can extract the message id
|
||||
// and the mail folder from the URI. aMailboxCopy already knows about the destination folder.
|
||||
// Set moveMessage to TRUE if you want the message to be moved. FALSE leaves it as just a copy.
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
NS_IMETHOD CopyMessage(const char * aSrcMailboxURI, nsIStreamListener * aMailboxCopy, PRBool moveMessage,
|
||||
nsIUrlListener * aUrlListener, nsIURL **aURL) = 0;
|
||||
// NS_IMETHOD CopyMessages(PRUnichar * aSrcMailboxURI[], PRBool moveMessage);
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// When you want a message from the mailbox displayed, pass in the path to the mailbox,
|
||||
// the starting and ending byte values in the mailbox for the message.
|
||||
|
|
Загрузка…
Ссылка в новой задаче