diff --git a/mailnews/base/public/nsIMsgFolder.idl b/mailnews/base/public/nsIMsgFolder.idl index 531cf09b223..09586ff7b56 100644 --- a/mailnews/base/public/nsIMsgFolder.idl +++ b/mailnews/base/public/nsIMsgFolder.idl @@ -83,8 +83,6 @@ interface nsIMsgFolder : nsIFolder { string GenerateUniqueSubfolderName(in string prefix, in nsIMsgFolder otherFolder); - attribute unsigned long depth; - void UpdateSummaryTotals(in boolean force); void SummaryChanged(); long GetNumUnread(in boolean deep); diff --git a/mailnews/base/util/nsMsgFolder.cpp b/mailnews/base/util/nsMsgFolder.cpp index 8e20acbf0f8..9c02307abfd 100644 --- a/mailnews/base/util/nsMsgFolder.cpp +++ b/mailnews/base/util/nsMsgFolder.cpp @@ -48,7 +48,6 @@ nsMsgFolder::nsMsgFolder(void) mParent(nsnull), mNumUnreadMessages(-1), mNumTotalMessages(-1), - mDepth(0), mPrefFlags(0), mBiffState(nsMsgBiffState_NoMail), mNumNewBiffMessages(0), @@ -819,21 +818,6 @@ NS_IMETHODIMP nsMsgFolder::GenerateUniqueSubfolderName(const char *prefix, nsIMs return NS_OK; } -NS_IMETHODIMP nsMsgFolder::GetDepth(PRUint32 *depth) -{ - if(!depth) - return NS_ERROR_NULL_POINTER; - *depth = mDepth; - return NS_OK; - -} - -NS_IMETHODIMP nsMsgFolder::SetDepth(PRUint32 depth) -{ - mDepth = depth; - return NS_OK; -} - NS_IMETHODIMP nsMsgFolder::UpdateSummaryTotals(PRBool /* force */) { //We don't support this diff --git a/mailnews/base/util/nsMsgFolder.h b/mailnews/base/util/nsMsgFolder.h index e1b830a45d8..ee96156786d 100644 --- a/mailnews/base/util/nsMsgFolder.h +++ b/mailnews/base/util/nsMsgFolder.h @@ -153,9 +153,6 @@ public: NS_IMETHOD GenerateUniqueSubfolderName(const char *prefix, nsIMsgFolder *otherFolder, char **name); - NS_IMETHOD GetDepth(PRUint32 *depth); - NS_IMETHOD SetDepth(PRUint32 depth); - // updates num messages and num unread - should be pure virtual // when I get around to implementing in all subclasses? NS_IMETHOD UpdateSummaryTotals(PRBool force); @@ -330,7 +327,6 @@ protected: nsVoidArray *mListeners; //This can't be an nsISupportsArray because due to //ownership issues, listeners can't be AddRef'd - PRUint8 mDepth; PRInt32 mPrefFlags; // prefs like MSG_PREF_OFFLINE, MSG_PREF_ONE_PANE, etc nsISupports *mSemaphoreHolder; // set when the folder is being written to //Due to ownership issues, this won't be AddRef'd.