Revise the doc encoder and content sink APIs yet again to make it easier

to add new flags (pass a flag in the constructor, rather than specific
booleans.  This in order to fix:
11249: Add flag to write only the body in html output.
This commit is contained in:
akkana@netscape.com
1999-08-24 18:30:19 +00:00
parent a9240253fa
commit c359aafe41
27 changed files with 263 additions and 292 deletions
+1 -1
View File
@@ -469,7 +469,7 @@ nsHTMLDocument::StartDocumentLoad(const char* aCommand,
#ifdef rickgdebug
nsString outString; // added out. Redirect to stdout if desired -- gpk 04/01/99
rv = NS_New_HTML_ContentSinkStream(&sink,&outString);
rv = NS_New_HTML_ContentSinkStream(&sink,&outString,0);
#else
NS_PRECONDITION(nsnull != aContainer, "No content viewer container");
aContainer->QueryInterface(kIWebShellIID, (void**)&webShell);