Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions | Private Attributes
nsAppFileLocProviderProxy Class Reference

#include <nsAppFileLocProviderProxy.h>

Inheritance diagram for nsAppFileLocProviderProxy:
Inheritance graph
Collaboration diagram for nsAppFileLocProviderProxy:
Collaboration graph

List of all members.

Public Member Functions

 nsAppFileLocProviderProxy (jobject aJavaLocProvider)
 ~nsAppFileLocProviderProxy ()
nsISimpleEnumerator getFiles (in string prop)
nsIFile getFile (in string prop, out PRBool persistent)

Private Attributes

jobject mJavaLocProvider

Detailed Description

Definition at line 45 of file nsAppFileLocProviderProxy.h.

Constructor & Destructor Documentation

Definition at line 44 of file nsAppFileLocProviderProxy.cpp.

  mJavaLocProvider = GetJNIEnv()->NewGlobalRef(aJavaObject);

Here is the call graph for this function:

Definition at line 49 of file nsAppFileLocProviderProxy.cpp.

Here is the call graph for this function:

Member Function Documentation

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


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

propThe symbolic name of the file.
persistentTRUE - 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.
The file represented by the property.


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

propThe symbolic name of the file list.
An enumerator for a list of file locations. The elements in the enumeration are nsIFile NS_SUCCESS_AGGREGATE_RESULT if this result should be aggregated with other "lower" providers.

Member Data Documentation

Definition at line 56 of file nsAppFileLocProviderProxy.h.

The documentation for this class was generated from the following files: