You are currently viewing a snapshot of www.mozilla.org taken on April 21, 2008. Most of this content is highly out of date (some pages haven't been updated since the project began in 1998) and exists for historical purposes only. If there are any pages on this archive site that you think should be added back to www.mozilla.org, please file a bug.


TOC PREV NEXT INDEX

Embedding Gecko API


nsIDirectoryServiceProvider2


This interface is an extension of nsIDirectoryServiceProvider which allows multiple files to be returned for a given key. It is scriptable.

Methods
getFiles

Provides Directory Service with a prop when it gets a request for it and the requested type is nsISimpleEnumerator.

Syntax:

nsISimpleEnumerator nsIDirectoryServiceProvider2::getFiles(
	in string prop) 

Parameters:

prop: The symbolic name of the file list.

Returns:

An enumerator for a list of file locations. The elements in the enumeration are of the type nsIFile.

Written by:Ellen Evans | Comments, questions, complaints? Bug 143387
TOC PREV NEXT INDEX