news doesn't need its own implementation of GetName

This commit is contained in:
alecf%netscape.com 1999-08-10 00:48:09 +00:00
parent 2c821c57bc
commit 586ee5c8c5
2 changed files with 0 additions and 14 deletions

View File

@ -717,18 +717,6 @@ nsMsgNewsFolder::GetChildNamed(const char *name, nsISupports ** aChild)
return NS_OK;
}
NS_IMETHODIMP nsMsgNewsFolder::GetName(PRUnichar **name)
{
if(!name)
return NS_ERROR_NULL_POINTER;
nsAutoString folderName;
nsNewsURI2Name(kNewsRootURI, mURI, folderName);
*name = folderName.ToNewUnicode();
return NS_OK;
}
NS_IMETHODIMP nsMsgNewsFolder::GetPrettyName(PRUnichar ** prettyName)
{
nsresult rv = NS_OK;

View File

@ -63,8 +63,6 @@ public:
NS_IMETHOD GetChildNamed(const char* name, nsISupports ** aChild);
// this override pulls the value from the db
NS_IMETHOD GetName(PRUnichar ** name); // Name of this folder (as presented to user).
NS_IMETHOD GetPrettyName(PRUnichar ** prettyName); // Override of the base, for top-level news folder
NS_IMETHOD BuildFolderURL(char **url);