Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Protected Attributes
ns4xStreamWrapper Class Reference
Inheritance diagram for ns4xStreamWrapper:
Inheritance graph
[legend]
Collaboration diagram for ns4xStreamWrapper:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ns4xStreamWrapper (nsIOutputStream *stream)
 ~ns4xStreamWrapper ()
void GetStream (nsIOutputStream *&result)
NPStreamGetNPStream (void)

Protected Attributes

nsIOutputStreamfStream
NPStream fNPStream

Detailed Description

Definition at line 1195 of file ns4xPlugin.cpp.


Constructor & Destructor Documentation

Definition at line 1214 of file ns4xPlugin.cpp.

  : fStream(stream)
{
  NS_ASSERTION(stream != NULL, "bad stream");

  fStream = stream;
  NS_ADDREF(fStream);

  memset(&fNPStream, 0, sizeof(fNPStream));
  fNPStream.ndata = (void*) this;
}

Here is the call graph for this function:

Definition at line 1226 of file ns4xPlugin.cpp.

{
  fStream->Close();
  NS_IF_RELEASE(fStream);
}

Member Function Documentation

Definition at line 1209 of file ns4xPlugin.cpp.

{ return &fNPStream; };

Here is the caller graph for this function:

Definition at line 1233 of file ns4xPlugin.cpp.

{
  result = fStream;
  NS_IF_ADDREF(fStream);
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 1202 of file ns4xPlugin.cpp.

Definition at line 1201 of file ns4xPlugin.cpp.


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