зеркало из https://github.com/mozilla/pjs.git
59063 59064, r=sspitzer, sr=bienvenu. Arguments changed
This commit is contained in:
Родитель
bd69c2ccff
Коммит
517e4afd94
|
@ -499,7 +499,7 @@ NS_IMETHODIMP nsMsgNewsFolder::SetNewsrcHasChanged(PRBool newsrcHasChanged)
|
||||||
return nntpServer->SetNewsrcHasChanged(newsrcHasChanged);
|
return nntpServer->SetNewsrcHasChanged(newsrcHasChanged);
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsMsgNewsFolder::CreateSubfolder(const PRUnichar *uninewsgroupname)
|
NS_IMETHODIMP nsMsgNewsFolder::CreateSubfolder(const PRUnichar *uninewsgroupname, nsIMsgWindow *msgWindow)
|
||||||
{
|
{
|
||||||
nsresult rv = NS_OK;
|
nsresult rv = NS_OK;
|
||||||
if (!uninewsgroupname) return NS_ERROR_NULL_POINTER;
|
if (!uninewsgroupname) return NS_ERROR_NULL_POINTER;
|
||||||
|
@ -592,7 +592,7 @@ NS_IMETHODIMP nsMsgNewsFolder::Delete()
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMETHODIMP nsMsgNewsFolder::Rename(const PRUnichar *newName)
|
NS_IMETHODIMP nsMsgNewsFolder::Rename(const PRUnichar *newName, nsIMsgWindow *msgWindow)
|
||||||
{
|
{
|
||||||
NS_ASSERTION(0,"Rename not implemented");
|
NS_ASSERTION(0,"Rename not implemented");
|
||||||
return NS_ERROR_NOT_IMPLEMENTED;
|
return NS_ERROR_NOT_IMPLEMENTED;
|
||||||
|
|
|
@ -63,10 +63,10 @@ public:
|
||||||
NS_IMETHOD GetMessages(nsIMsgWindow *aMsgWindow, nsISimpleEnumerator* *result);
|
NS_IMETHOD GetMessages(nsIMsgWindow *aMsgWindow, nsISimpleEnumerator* *result);
|
||||||
NS_IMETHOD UpdateFolder(nsIMsgWindow *aWindow);
|
NS_IMETHOD UpdateFolder(nsIMsgWindow *aWindow);
|
||||||
|
|
||||||
NS_IMETHOD CreateSubfolder(const PRUnichar *folderName);
|
NS_IMETHOD CreateSubfolder(const PRUnichar *folderName,nsIMsgWindow *msgWindow);
|
||||||
|
|
||||||
NS_IMETHOD Delete ();
|
NS_IMETHOD Delete ();
|
||||||
NS_IMETHOD Rename (const PRUnichar *newName);
|
NS_IMETHOD Rename (const PRUnichar *newName, nsIMsgWindow *msgWindow);
|
||||||
NS_IMETHOD Adopt(nsIMsgFolder *srcFolder, PRUint32 *outPos);
|
NS_IMETHOD Adopt(nsIMsgFolder *srcFolder, PRUint32 *outPos);
|
||||||
|
|
||||||
NS_IMETHOD GetAbbreviatedName(PRUnichar * *aAbbreviatedName);
|
NS_IMETHOD GetAbbreviatedName(PRUnichar * *aAbbreviatedName);
|
||||||
|
|
|
@ -745,7 +745,7 @@ nsNntpIncomingServer::SubscribeToNewsgroup(const char *name)
|
||||||
if (!msgfolder) return NS_ERROR_FAILURE;
|
if (!msgfolder) return NS_ERROR_FAILURE;
|
||||||
|
|
||||||
nsAutoString newsgroupName; newsgroupName.AssignWithConversion(name);
|
nsAutoString newsgroupName; newsgroupName.AssignWithConversion(name);
|
||||||
rv = msgfolder->CreateSubfolder(newsgroupName.GetUnicode());
|
rv = msgfolder->CreateSubfolder(newsgroupName.GetUnicode(),nsnull);
|
||||||
if (NS_FAILED(rv)) return rv;
|
if (NS_FAILED(rv)) return rv;
|
||||||
|
|
||||||
return NS_OK;
|
return NS_OK;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче