QNPStream Class Reference
The QNPStream class provides a stream of data provided to a 
QNPInstance by the browser.  
More...
#include <qnp.h>
List of all members.
Detailed Description
The QNPStream class provides a stream of data provided to a 
QNPInstance by the browser. 
Netscape Plugin
Note that this is neither a QTextStream nor a QDataStream.
- See also:
- QNPInstance::write(), QNPInstance::newStreamCreated() 
Constructor & Destructor Documentation
| 
| QNPStream::QNPStream | ( | QNPInstance * | in, |  
|  |  | const char * | mt, |  
|  |  | _NPStream * | st, |  
|  |  | bool | se |  
|  | ) |  |  | 
|  | 
Creates a stream. Plugins should not call this, but rather QNPInstance::newStream() if a stream is required. 
Takes a QNPInstance in, mime type mt, a pointer to an _NPStream st and a seekable flag se.      | 
Member Function Documentation
| 
| bool QNPStream::complete | ( |  | ) | const |  | 
|  | 
Returns TRUE if the stream has received all the data from the source; otherwise returns FALSE.      | 
| 
| uint QNPStream::end | ( |  | ) | const |  | 
|  | 
Returns the length of the stream in bytes. Can be 0 for streams of unknown length.      | 
|  | 
Returns the QNPInstance for which this stream was created.      | 
| 
| uint QNPStream::lastModified | ( |  | ) | const |  | 
|  | 
Returns the time when the source of the stream was last modified.      | 
| 
| bool QNPStream::okay | ( |  | ) | const |  | 
|  | 
Returns TRUE if no errors have occurred on the stream; otherwise returns FALSE.      | 
| 
| void QNPStream::requestRead | ( | int | offset, |  
|  |  | uint | length |  
|  | ) |  |  | 
| 
| bool QNPStream::seekable | ( |  | ) | const |  | 
|  | 
Returns TRUE if the stream is seekable; otherwise returns FALSE.      | 
| 
| const char * QNPStream::type | ( |  | ) | const |  | 
|  | 
Returns the MIME type of the stream.      | 
| 
| const char * QNPStream::url | ( |  | ) | const |  | 
|  | 
Returns the URL from which the stream was created.      | 
| 
| int QNPStream::write | ( | int | len, |  
|  |  | void * | buffer |  
|  | ) |  |  | 
|  | 
Writes len bytes from buffer to the stream.      | 
The documentation for this class was generated from the following files:
Generated on Thu Nov 25 15:42:55 2004 for iARS(internetAudioRenderingSystem) by 
 1.3.9.1
 1.3.9.1