Add save msg to file action to mailbox actions. Add getter/setter for nsIFileSpec used to store the message when

This commit is contained in:
mscott%netscape.com 1999-06-09 21:03:36 +00:00
Родитель 1c75c7379a
Коммит 3e0977d6b7
1 изменённых файлов: 8 добавлений и 2 удалений

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

@ -39,10 +39,13 @@ typedef enum {
nsMailboxActionParseMailbox = 0, nsMailboxActionParseMailbox = 0,
nsMailboxActionDisplayMessage, nsMailboxActionDisplayMessage,
nsMailboxActionCopyMessage, nsMailboxActionCopyMessage,
nsMailboxActionMoveMessage nsMailboxActionMoveMessage,
nsMailboxActionSaveMessageToDisk,
nsMailboxActionAppendMessageToDisk
} nsMailboxAction; } nsMailboxAction;
class nsIMsgDBHdr; class nsIMsgDBHdr;
class nsIFileSpec;
class nsIMailboxUrl : public nsIMsgMailNewsUrl class nsIMailboxUrl : public nsIMsgMailNewsUrl
{ {
@ -65,7 +68,6 @@ public:
// the data written to as well? Hmm.... // the data written to as well? Hmm....
NS_IMETHOD SetMailboxParser(nsIStreamListener * aConsumer) = 0; NS_IMETHOD SetMailboxParser(nsIStreamListener * aConsumer) = 0;
NS_IMETHOD GetMailboxParser(nsIStreamListener ** aConsumer) = 0; NS_IMETHOD GetMailboxParser(nsIStreamListener ** aConsumer) = 0;
@ -93,6 +95,10 @@ public:
NS_IMETHOD GetMailboxAction(nsMailboxAction * aMailboxAction) = 0; NS_IMETHOD GetMailboxAction(nsMailboxAction * aMailboxAction) = 0;
NS_IMETHOD SetMailboxAction(nsMailboxAction aMailboxAction) = 0; NS_IMETHOD SetMailboxAction(nsMailboxAction aMailboxAction) = 0;
// used by save message to disk....
NS_IMETHOD SetMessageFile(nsIFileSpec * aFileSpec) = 0;
NS_IMETHOD GetMessageFile(nsIFileSpec ** aFileSpec) = 0;
}; };
#endif /* nsIMailboxUrl_h___ */ #endif /* nsIMailboxUrl_h___ */