summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqnpinstance.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqnpinstance.3qt')
-rw-r--r--doc/man/man3/tqnpinstance.3qt6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqnpinstance.3qt b/doc/man/man3/tqnpinstance.3qt
index 3effb55f1..63ef945ae 100644
--- a/doc/man/man3/tqnpinstance.3qt
+++ b/doc/man/man3/tqnpinstance.3qt
@@ -78,7 +78,7 @@ Inherits TQObject.
.BI "void \fBpostURL\fR ( const char * url, const char * window, uint len, const char * buf, bool file )"
.br
.ti -1c
-.BI "QNPStream * \fBnewStream\fR ( const char * mimetype, const char * window, bool as_file = FALSE )"
+.BI "QNPStream * \fBnewStream\fR ( const char * mimetype, const char * window, bool as_file = false )"
.br
.ti -1c
.BI "virtual void \fBstreamAsFile\fR ( QNPStream *, const char * fname )"
@@ -191,14 +191,14 @@ Requests that the given \fIurl\fR be retrieved and sent to the named \fIwindow\f
Netscape: NPN_GetURLNotify method
.SH "InstanceMode QNPInstance::mode () const"
Returns the mode of the plugin.
-.SH "QNPStream * QNPInstance::newStream ( const char * mimetype, const char * window, bool as_file = FALSE )"
+.SH "QNPStream * QNPInstance::newStream ( const char * mimetype, const char * window, bool as_file = false )"
\fBThis function is under development and is subject to change.\fR
.PP
This function is \fInot tested\fR.
.PP
Requests the creation of a new data stream \fIfrom\fR the plugin. The MIME type and window are passed in \fImimetype\fR and \fIwindow\fR. \fIas_file\fR holds the AsFileOnly flag. It is an interface to the NPN_NewStream function of the Netscape Plugin API.
.SH "bool QNPInstance::newStreamCreated ( QNPStream *, StreamMode & smode )\fC [virtual]\fR"
-This function is called when a new stream has been created. The instance should return TRUE if it accepts the processing of the stream. If the instance requires the stream as a file, it should set \fIsmode\fR to AsFileOnly, in which case the data will be delivered some time later to the streamAsFile() function. Otherwise, the data will be delivered in chunks to the write() function, which must consume at least as much data as returned by the most recent call to writeReady().
+This function is called when a new stream has been created. The instance should return true if it accepts the processing of the stream. If the instance requires the stream as a file, it should set \fIsmode\fR to AsFileOnly, in which case the data will be delivered some time later to the streamAsFile() function. Otherwise, the data will be delivered in chunks to the write() function, which must consume at least as much data as returned by the most recent call to writeReady().
.PP
Note that the AsFileOnly method is not supported by Netscape 2.0 and MSIE 3.0.
.PP