add HaveFontFor method for nsIFontEnumerator sr=erik

This commit is contained in:
ftang%netscape.com 2001-02-06 13:44:11 +00:00
Родитель 1b1f000302
Коммит 1fdce11a46
1 изменённых файлов: 17 добавлений и 0 удалений

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

@ -1220,4 +1220,21 @@ nsFontEnumeratorMac::EnumerateFonts(const char* aLangGroup,
return NS_OK;
}
NS_IMETHODIMP
nsFontEnumeratorMac::HaveFontFor(const char* aLangGroup,PRBool* aResult)
{
if ((! aLangGroup) )
return NS_ERROR_NULL_POINTER;
if (aResult) {
*aResult = PR_FALSE;
}
else {
return NS_ERROR_NULL_POINTER;
}
*aResult = PR_TRUE; // for now, just return true
// fix me later - ftang
return NS_OK;
}