oops, fix bustage - I forgot to change the API on all 3 platforms

This commit is contained in:
alecf%netscape.com 2001-12-19 01:14:37 +00:00
parent 423d4f12bf
commit d8253813c9
3 changed files with 6 additions and 6 deletions

View File

@ -53,7 +53,7 @@
static int isleadbyte(int c);
NS_IMETHODIMP
nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
nsIOService::GetURLSpecFromFile(nsIFile *aFile, char * *aURL)
{
NS_ENSURE_ARG_POINTER(aURL);
*aURL = nsnull;
@ -104,7 +104,7 @@ nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
}
NS_IMETHODIMP
nsIOService::SetFileFromURL(nsIFile *aFile, const char * aURL)
nsIOService::InitFileFromURLSpec(nsIFile *aFile, const char * aURL)
{
NS_ENSURE_ARG(aURL);
nsresult rv;

View File

@ -40,7 +40,7 @@
#include "nsIOService.h"
#include "nsEscape.h"
NS_IMETHODIMP nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
NS_IMETHODIMP nsIOService::GetURLSpecFromFile(nsIFile *aFile, char * *aURL)
{
NS_ENSURE_ARG_POINTER(aURL);
*aURL = nsnull;
@ -73,7 +73,7 @@ NS_IMETHODIMP nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
return rv;
}
NS_IMETHODIMP nsIOService::SetFileFromURL(nsIFile* aFile, const char * aURL)
NS_IMETHODIMP nsIOService::InitFileFromURLSpec(nsIFile* aFile, const char * aURL)
{
NS_ENSURE_ARG(aURL);
nsresult rv;

View File

@ -43,7 +43,7 @@
#include <windows.h>
NS_IMETHODIMP
nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
nsIOService::GetURLSpecFromFile(nsIFile *aFile, char * *aURL)
{
NS_ENSURE_ARG_POINTER(aURL);
*aURL = nsnull;
@ -95,7 +95,7 @@ nsIOService::GetURLFromFile(nsIFile *aFile, char * *aURL)
}
NS_IMETHODIMP
nsIOService::SetFileFromURL(nsIFile *aFile, const char * aURL)
nsIOService::InitFileFromURLSpec(nsIFile *aFile, const char * aURL)
{
NS_ENSURE_ARG(aURL);
nsresult rv;