Added IStreamListener::OnStatus(...)...

This commit is contained in:
rpotts@netscape.com
1998-07-24 10:02:50 +00:00
parent 44c384fc62
commit 7367aad321
17 changed files with 182 additions and 72 deletions

View File

@@ -676,12 +676,28 @@ nsresult nsParser::GetBindInfo(nsIURL* aURL){
* @return error code -- 0 if ok, non-zero if error.
*/
nsresult
nsParser::OnProgress(nsIURL* aURL, PRInt32 aProgress, PRInt32 aProgressMax,
const nsString& aMsg)
nsParser::OnProgress(nsIURL* aURL, PRInt32 aProgress, PRInt32 aProgressMax)
{
nsresult result=0;
if (nsnull != mObserver) {
mObserver->OnProgress(aURL, aProgress, aProgressMax, aMsg);
mObserver->OnProgress(aURL, aProgress, aProgressMax);
}
return result;
}
/**
*
*
* @update gess 5/12/98
* @param
* @return error code -- 0 if ok, non-zero if error.
*/
nsresult
nsParser::OnStatus(nsIURL* aURL, const nsString &aMsg)
{
nsresult result=0;
if (nsnull != mObserver) {
mObserver->OnStatus(aURL, aMsg);
}
return result;
}