зеркало из https://github.com/mozilla/pjs.git
Changes for threads.
This commit is contained in:
Родитель
3d07d87559
Коммит
2cace2e11b
|
@ -107,6 +107,7 @@ public:
|
|||
NS_IMETHOD ListAllKeys(nsMsgKeyArray &outputKeys) = 0;
|
||||
#endif
|
||||
NS_IMETHOD EnumerateMessages(nsIEnumerator* *result) = 0;
|
||||
NS_IMETHOD EnumerateThreads(nsIEnumerator* *result) = 0;
|
||||
|
||||
// helpers for user command functions like delete, mark read, etc.
|
||||
|
||||
|
|
|
@ -1766,6 +1766,8 @@ NS_IMETHODIMP nsMsgDBThreadEnumerator::Next(void)
|
|||
return rv;
|
||||
|
||||
mResultThread = new nsMsgThread(mDB, table);
|
||||
if(mResultThread)
|
||||
NS_ADDREF(mResultThread);
|
||||
} while (mFilter && mFilter(mResultThread, mClosure) != NS_OK);
|
||||
return rv;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче