Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions
nsIRDFContainerUtils.idl File Reference
import "nsISupports.idl";
import "nsIRDFContainer.idl";
import "nsIRDFResource.idl";

Go to the source code of this file.

Classes

interface  nsIRDFContainerUtils

Functions

nsresult NS_NewRDFContainerUtils (nsIRDFContainerUtils **aResult)

Function Documentation

Definition at line 402 of file nsRDFContainerUtils.cpp.

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

    RDFContainerUtilsImpl* result =
        new RDFContainerUtilsImpl();

    if (! result)
        return NS_ERROR_OUT_OF_MEMORY;

    NS_ADDREF(result);
    *aResult = result;
    return NS_OK;
}

Here is the call graph for this function: