added declaration of pure virtual functions to fix build on Mac

git-svn-id: svn://10.0.0.236/trunk@7338 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pierre%netscape.com 1998-08-05 08:11:01 +00:00
parent 97aee721c3
commit f3ed50246f
4 changed files with 38 additions and 0 deletions

View File

@ -425,6 +425,21 @@ PRUint32 nsDeviceContextMac :: ConvertPixel(nscolor aColor)
return (newcolor);
}
nsresult nsDeviceContextMac :: LoadIconImage(PRInt32 aId, nsIImage*& aImage)
{
return nsnull;
}
nsresult nsDeviceContextMac :: CheckFontExistence(const char * aFontName)
{
return NS_OK;
}
nsresult nsDeviceContextMac :: CreateILColorSpace(IL_ColorSpace*& aColorSpace)
{
return nsnull;
}
void nsDeviceContextMac :: InstallColormap()
{
#if 0

View File

@ -80,6 +80,10 @@ public:
virtual PRUint32 ConvertPixel(nscolor aColor);
NS_IMETHOD LoadIconImage(PRInt32 aId, nsIImage*& aImage);
NS_IMETHOD CheckFontExistence(const char * aFontName);
NS_IMETHOD CreateILColorSpace(IL_ColorSpace*& aColorSpace);
protected:
~nsDeviceContextMac();
nsresult CreateFontCache();

View File

@ -425,6 +425,21 @@ PRUint32 nsDeviceContextMac :: ConvertPixel(nscolor aColor)
return (newcolor);
}
nsresult nsDeviceContextMac :: LoadIconImage(PRInt32 aId, nsIImage*& aImage)
{
return nsnull;
}
nsresult nsDeviceContextMac :: CheckFontExistence(const char * aFontName)
{
return NS_OK;
}
nsresult nsDeviceContextMac :: CreateILColorSpace(IL_ColorSpace*& aColorSpace)
{
return nsnull;
}
void nsDeviceContextMac :: InstallColormap()
{
#if 0

View File

@ -80,6 +80,10 @@ public:
virtual PRUint32 ConvertPixel(nscolor aColor);
NS_IMETHOD LoadIconImage(PRInt32 aId, nsIImage*& aImage);
NS_IMETHOD CheckFontExistence(const char * aFontName);
NS_IMETHOD CreateILColorSpace(IL_ColorSpace*& aColorSpace);
protected:
~nsDeviceContextMac();
nsresult CreateFontCache();