Back to index

lightning-sunbird  0.9+nobinonly
Public Attributes
nsIRelativeFilePref Interface Reference

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

import "nsIRelativeFilePref.idl";

Inheritance diagram for nsIRelativeFilePref:
Inheritance graph
[legend]
Collaboration diagram for nsIRelativeFilePref:
Collaboration graph
[legend]

List of all members.

Public Attributes

attribute nsILocalFile file
 file
attribute ACString relativeToKey
 relativeToKey

Detailed Description

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

When used as a pref value, it stores a relative path to the file from the location pointed to by the directory service key. The path has the same syntax across all platforms.

See also:
nsIPrefBranch::getComplexValue
nsIPrefBranch::setComplexValue

Definition at line 54 of file nsIRelativeFilePref.idl.


Member Data Documentation

file

The file whose location is stored or retrieved.

Definition at line 61 of file nsIRelativeFilePref.idl.

relativeToKey

A directory service key for the directory from which the file path is relative.

Definition at line 69 of file nsIRelativeFilePref.idl.


The documentation for this interface was generated from the following file: