From e150a428315fc804d964151339fd8ee30c120cf7 Mon Sep 17 00:00:00 2001 From: "jefft%netscape.com" Date: Sat, 26 Jun 1999 18:22:55 +0000 Subject: [PATCH] stub implement CopyMessages() & CopyFileMessage() methods --- mailnews/base/util/nsMsgFolder.cpp | 19 +++++++++++++++++++ mailnews/base/util/nsMsgFolder.h | 13 ++++++++++++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/mailnews/base/util/nsMsgFolder.cpp b/mailnews/base/util/nsMsgFolder.cpp index 1888ce50905..8a5bd5c9e40 100644 --- a/mailnews/base/util/nsMsgFolder.cpp +++ b/mailnews/base/util/nsMsgFolder.cpp @@ -1384,6 +1384,25 @@ nsMsgFolder::GetPath(nsIFileSpec * *aPath) return NS_ERROR_NOT_IMPLEMENTED; } +NS_IMETHODIMP +nsMsgFolder::CopyMessages(nsIMsgFolder* srcFolder, + nsISupportsArray *messages, + PRBool isMove, + nsITransactionManager* txnMgr) +{ + return NS_ERROR_NOT_IMPLEMENTED; +} + +NS_IMETHODIMP +nsMsgFolder::CopyFileMessage(nsIFileSpec* fileSpec, + nsIMessage* messageToReplace, + PRBool isDraft, + nsISupports* aSupport, + nsITransactionManager* txnMgr) +{ + return NS_ERROR_NOT_IMPLEMENTED; +} + nsresult nsMsgFolder::NotifyPropertyChanged(char *property, char *oldValue, char* newValue) { nsCOMPtr supports; diff --git a/mailnews/base/util/nsMsgFolder.h b/mailnews/base/util/nsMsgFolder.h index c3a85b7cf97..155ef1e26f0 100644 --- a/mailnews/base/util/nsMsgFolder.h +++ b/mailnews/base/util/nsMsgFolder.h @@ -261,7 +261,18 @@ public: virtual nsresult GetDBFolderInfoAndDB(nsIDBFolderInfo **folderInfo, nsIMsgDatabase **db) = 0; NS_IMETHOD DeleteMessages(nsISupportsArray *messages, - nsITransactionManager *txnMgr, PRBool deleteStorage) = 0; + nsITransactionManager *txnMgr, PRBool + deleteStorage) = 0; + NS_IMETHOD CopyMessages(nsIMsgFolder* srcFolder, + nsISupportsArray *messages, + PRBool isMove, + nsITransactionManager* txnMgr); + NS_IMETHOD CopyFileMessage(nsIFileSpec* fileSpec, + nsIMessage* messageToReplace, + PRBool isDraft, + nsISupports* aSupport, + nsITransactionManager* txnMgr); + NS_IMETHOD GetNewMessages(); NS_IMETHOD GetCharset(PRUnichar * *aCharset) = 0;