Back to index

lightning-sunbird  0.9+nobinonly
nsRDFBuiltInDataSources.h File Reference
#include "nsError.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


nsresult NS_NewRDFFileSystemDataSource (nsIRDFDataSource **result)

Function Documentation

Definition at line 1114 of file nsFileSystemDataSource.cpp.

    if (!result)
        return NS_ERROR_NULL_POINTER;

    // only one file system data source
    if (nsnull == gFileSystemDataSource)
        if ((gFileSystemDataSource = new FileSystemDataSource()) == nsnull)
            return NS_ERROR_OUT_OF_MEMORY;
    *result = gFileSystemDataSource;
    return NS_OK;

Here is the call graph for this function: