Back to index

lightning-sunbird  0.9+nobinonly
Defines | Functions
nsMultiplexInputStream.h File Reference
#include "nsIMultiplexInputStream.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define NS_MULTIPLEXINPUTSTREAM_CLASSNAME   "nsMultiplexInputStream"
 The multiplex stream concatinates a list of input streams into a single stream.
#define NS_MULTIPLEXINPUTSTREAM_CONTRACTID   "@mozilla.org/io/multiplex-input-stream;1"
#define NS_MULTIPLEXINPUTSTREAM_CID

Functions

NS_METHOD nsMultiplexInputStreamConstructor (nsISupports *outer, REFNSIID iid, void **result)

Define Documentation

Value:
{ /* 565e3a2c-1dd2-11b2-8da1-b4cef17e568d */         \
    0x565e3a2c,                                      \
    0x1dd2,                                          \
    0x11b2,                                          \
    {0x8d, 0xa1, 0xb4, 0xce, 0xf1, 0x7e, 0x56, 0x8d} \
}

Definition at line 51 of file nsMultiplexInputStream.h.

#define NS_MULTIPLEXINPUTSTREAM_CLASSNAME   "nsMultiplexInputStream"

The multiplex stream concatinates a list of input streams into a single stream.

Definition at line 49 of file nsMultiplexInputStream.h.

#define NS_MULTIPLEXINPUTSTREAM_CONTRACTID   "@mozilla.org/io/multiplex-input-stream;1"

Definition at line 50 of file nsMultiplexInputStream.h.


Function Documentation

NS_METHOD nsMultiplexInputStreamConstructor ( nsISupports *  outer,
REFNSIID  iid,
void **  result 
)

Definition at line 370 of file nsMultiplexInputStream.cpp.

{
    *result = nsnull;

    if (outer)
        return NS_ERROR_NO_AGGREGATION;

    nsMultiplexInputStream *inst;
    NS_NEWXPCOM(inst, nsMultiplexInputStream);
    if (!inst)
        return NS_ERROR_OUT_OF_MEMORY;

    NS_ADDREF(inst);
    nsresult rv = inst->QueryInterface(iid, result);
    NS_RELEASE(inst);

    return rv;
}

Here is the call graph for this function: