WARNING: Most of this content (with the exception of the Mozilla 1.9 XPCOM reference) is very old, and can be expected to be out of date and possibly obsolete. For better XUL documentation, please visit the XUL hub at the Mozilla Developer Center.

nsIDirectoryServiceProvider

IID:bbf8cab0-d43a-11d3-8cc2-00609792278c
Inherits From:nsISupports
Status:FROZEN

Used by Directory Service to get file locations.

This interface is implemented by the following components:


Methods

nsIFile getFile ( char* prop , out PRBool persistent )

nsIFile getFile ( char* prop , out PRBool persistent )

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

Arguments:
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.

References

This interface is passed as an argument to the following methods:

nsIDirectoryService.registerProvider, nsIDirectoryService.unregisterProvider

Reference documentation is generated from Mozilla's source.

Copyright © 1999-2006 XULPlanet.com