Public Member Functions

nsIDirectoryServiceProvider Interface Reference

nsIDirectoryServiceProvider More...

import "nsIDirectoryService.idl";

Inheritance diagram for nsIDirectoryServiceProvider:

List of all members.

Public Member Functions

nsIFile getFile (in string prop, out PRBool persistent)
 getFile

Detailed Description

nsIDirectoryServiceProvider

Used by Directory Service to get file locations.


Member Function Documentation

nsIFile nsIDirectoryServiceProvider::getFile ( in string  prop,
out PRBool  persistent 
)

getFile

Directory Service calls this when it gets the first request for a prop or on every request if the prop is not persistent.

Parameters:
prop The symbolic name of the file.
persistent TRUE - The returned file will be cached by Directory Service. Subsequent requests for this prop will bypass the provider and use the cache. FALSE - The provider will be asked for this prop each time it is requested.
Returns:
The file represented by the property.

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