Add mailbox copy message interface.

This commit is contained in:
mscott%netscape.com 1999-03-29 06:07:42 +00:00
Родитель 6830bdc2c8
Коммит 45735b6990
1 изменённых файлов: 10 добавлений и 0 удалений

Просмотреть файл

@ -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.