Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Functions
nsIRelativeFilePref.idl File Reference
import "nsISupports.idl";
#include "nsComponentManagerUtils.h"

Go to the source code of this file.


interface  nsIRelativeFilePref
 The nsIRelativeFilePref interface is a wrapper for an nsILocalFile and and a directory service key. More...


#define NS_RELATIVEFILEPREF_CLASSNAME   "Relative File Pref"


nsresult NS_NewRelativeFilePref (nsILocalFile *aFile, const nsACString &relativeToKey, nsIRelativeFilePref **result)

Define Documentation

{ /* {2f977d4f-5485-11d4-87e2-0010a4e75ef2} */       \
    0x2f977d4f,                                        \
    0x5485,                                            \
    0x11d4,                                            \
    { 0x87, 0xe2, 0x00, 0x10, 0xa4, 0xe7, 0x5e, 0xf2 } \

Definition at line 75 of file nsIRelativeFilePref.idl.

#define NS_RELATIVEFILEPREF_CLASSNAME   "Relative File Pref"

Definition at line 84 of file nsIRelativeFilePref.idl.


Definition at line 83 of file nsIRelativeFilePref.idl.

Function Documentation

nsresult NS_NewRelativeFilePref ( nsILocalFile aFile,
const nsACString &  relativeToKey,
nsIRelativeFilePref **  result 
) [inline]

Definition at line 89 of file nsIRelativeFilePref.idl.

    nsresult rv;
    nsCOMPtr<nsIRelativeFilePref> local(do_CreateInstance(NS_RELATIVEFILEPREF_CONTRACTID, &rv));
    if (NS_FAILED(rv)) return rv;

    *result = local;
    return NS_OK;

Here is the call graph for this function:

Here is the caller graph for this function: