Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsIconDecoder Class Reference

#include <nsIconDecoder.h>

Inheritance diagram for nsIconDecoder:
Inheritance graph
Collaboration diagram for nsIconDecoder:
Collaboration graph

List of all members.

Public Member Functions

nsIconDecoder ()
virtual ~nsIconDecoder ()
void init (in imgILoad aLoad)
 Initalize an image decoder.
void close ()
 Closes the stream.
void flush ()
 Flushes the stream.
unsigned long writeFrom (in nsIInputStream inStr, in unsigned long count)
 Writes data into the stream from an input stream.

Private Attributes

nsCOMPtr< imgIContainermImage
nsCOMPtr< gfxIImageFramemFrame
nsCOMPtr< imgIDecoderObservermObserver

Detailed Description

Definition at line 82 of file nsIconDecoder.h.

Constructor & Destructor Documentation

Definition at line 56 of file nsIconDecoder.cpp.


Definition at line 60 of file nsIconDecoder.cpp.

{ }

Member Function Documentation

void imgIDecoder::close ( ) [inherited]

Closes the stream.

void imgIDecoder::flush ( ) [inherited]

Flushes the stream.

void imgIDecoder::init ( in imgILoad  aLoad) [inherited]

Initalize an image decoder.

aRequestthe request that owns the decoder.
The decode should QI aLoad to an imgIDecoderObserver and should send decoder notifications to the request. The decoder should always pass NULL as the first two parameters to all of the imgIDecoderObserver APIs.
unsigned long imgIDecoder::writeFrom ( in nsIInputStream  inStr,
in unsigned long  count 
) [inherited]

Writes data into the stream from an input stream.

Implementer's note: This method is defined by this interface in order to allow the output stream to efficiently copy the data from the input stream into its internal buffer (if any). If this method was provide as an external facility, a separate char* buffer would need to be used in order to call the output stream's other Write method.

fromStreamthe stream from which the data is read
countthe maximun number of bytes to write
aWriteCount out parameter to hold the number of bytes written. if an error occurs, the writecount is undefined

Member Data Documentation

Definition at line 93 of file nsIconDecoder.h.

Definition at line 92 of file nsIconDecoder.h.

Definition at line 94 of file nsIconDecoder.h.

The documentation for this class was generated from the following files: