Back to index

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

Go to the source code of this file.


class  nsIXULContentSink




nsresult NS_NewXULContentSink (nsIXULContentSink **aResult)

Define Documentation

{ 0xf9da9ee5, 0xd353, 0x4994, \
{ 0x95, 0x60, 0x6a, 0x4e, 0x06, 0x31, 0x0e, 0x2d } }

Definition at line 48 of file nsIXULContentSink.h.

Function Documentation

Definition at line 688 of file nsXULContentSink.cpp.

    NS_PRECONDITION(aResult != nsnull, "null ptr");
    if (! aResult)
        return NS_ERROR_NULL_POINTER;

    nsresult rv;
    XULContentSinkImpl* sink = new XULContentSinkImpl(rv);
    if (! sink)
        return NS_ERROR_OUT_OF_MEMORY;

    if (NS_FAILED(rv)) {
        delete sink;
        return rv;

    *aResult = sink;
    return NS_OK;

Here is the call graph for this function:

Here is the caller graph for this function: