Back to index

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

Go to the source code of this file.

Defines

#define NS_PIPE_CLASSNAME   "nsPipe"
#define NS_PIPE_CONTRACTID   "@mozilla.org/pipe;1"
#define NS_PIPE_CID

Functions

NS_METHOD NS_HIDDEN nsPipeConstructor (nsISupports *outer, REFNSIID iid, void **result)

Define Documentation

Value:
{ /* e4a0ee4e-0775-457b-9118-b3ae97a7c758 */ \
  0xe4a0ee4e,                                \
  0x0775,                                    \
  0x457b,                                    \
  {0x91,0x18,0xb3,0xae,0x97,0xa7,0xc7,0x58}  \
}

Definition at line 46 of file nsPipe.h.

#define NS_PIPE_CLASSNAME   "nsPipe"

Definition at line 42 of file nsPipe.h.

#define NS_PIPE_CONTRACTID   "@mozilla.org/pipe;1"

Definition at line 44 of file nsPipe.h.


Function Documentation

NS_METHOD NS_HIDDEN nsPipeConstructor ( nsISupports *  outer,
REFNSIID  iid,
void **  result 
)

Definition at line 1274 of file nsPipe3.cpp.

{
    if (outer)
        return NS_ERROR_NO_AGGREGATION;
    nsPipe *pipe = new nsPipe();
    if (!pipe)
        return NS_ERROR_OUT_OF_MEMORY;
    NS_ADDREF(pipe);
    nsresult rv = pipe->QueryInterface(iid, result);
    NS_RELEASE(pipe);
    return rv;
}

Here is the call graph for this function: