59063 59064, r=sspitzer, sr=bienvenu. Arguments changed

This commit is contained in:
naving%netscape.com 2000-11-29 01:18:37 +00:00
Родитель bd69c2ccff
Коммит 517e4afd94
3 изменённых файлов: 5 добавлений и 5 удалений

Просмотреть файл

@ -499,7 +499,7 @@ NS_IMETHODIMP nsMsgNewsFolder::SetNewsrcHasChanged(PRBool 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;
if (!uninewsgroupname) return NS_ERROR_NULL_POINTER;
@ -592,7 +592,7 @@ NS_IMETHODIMP nsMsgNewsFolder::Delete()
return rv;
}
NS_IMETHODIMP nsMsgNewsFolder::Rename(const PRUnichar *newName)
NS_IMETHODIMP nsMsgNewsFolder::Rename(const PRUnichar *newName, nsIMsgWindow *msgWindow)
{
NS_ASSERTION(0,"Rename not implemented");
return NS_ERROR_NOT_IMPLEMENTED;

Просмотреть файл

@ -63,10 +63,10 @@ public:
NS_IMETHOD GetMessages(nsIMsgWindow *aMsgWindow, nsISimpleEnumerator* *result);
NS_IMETHOD UpdateFolder(nsIMsgWindow *aWindow);
NS_IMETHOD CreateSubfolder(const PRUnichar *folderName);
NS_IMETHOD CreateSubfolder(const PRUnichar *folderName,nsIMsgWindow *msgWindow);
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 GetAbbreviatedName(PRUnichar * *aAbbreviatedName);

Просмотреть файл

@ -745,7 +745,7 @@ nsNntpIncomingServer::SubscribeToNewsgroup(const char *name)
if (!msgfolder) return NS_ERROR_FAILURE;
nsAutoString newsgroupName; newsgroupName.AssignWithConversion(name);
rv = msgfolder->CreateSubfolder(newsgroupName.GetUnicode());
rv = msgfolder->CreateSubfolder(newsgroupName.GetUnicode(),nsnull);
if (NS_FAILED(rv)) return rv;
return NS_OK;