Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
nsRDFContainerUtils.cpp File Reference
#include "nsCOMPtr.h"
#include "nsIServiceManager.h"
#include "nsIRDFContainer.h"
#include "nsIRDFContainerUtils.h"
#include "nsIRDFService.h"
#include "nsRDFCID.h"
#include "nsString.h"
#include "nsXPIDLString.h"
#include "plstr.h"
#include "prprf.h"
#include "rdf.h"
#include "rdfutil.h"

Go to the source code of this file.

Classes

class  RDFContainerUtilsImpl

Functions

static NS_DEFINE_CID (kRDFServiceCID, NS_RDFSERVICE_CID)
nsresult NS_NewRDFContainerUtils (nsIRDFContainerUtils **aResult)

Variables

static const char kRDFNameSpaceURI [] = RDF_NAMESPACE_URI

Function Documentation

static NS_DEFINE_CID ( kRDFServiceCID  ,
NS_RDFSERVICE_CID   
) [static]

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:


Variable Documentation

Definition at line 60 of file nsRDFContainerUtils.cpp.