remove the "depth" attribute now that we have isServer
This commit is contained in:
Родитель
d63ebbe1f7
Коммит
bfa05b3b2f
|
@ -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.
|
||||
|
|
Загрузка…
Ссылка в новой задаче