mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
remove the "depth" attribute now that we have isServer
This commit is contained in:
parent
ecbbcad23e
commit
cce4d3df48
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user