Public Member Functions | |
sbDirectoryEnumeratorHelper () | |
virtual | ~sbDirectoryEnumeratorHelper () |
NS_DECL_ISUPPORTS NS_DECL_NSISIMPLEENUMERATOR nsresult | Init (nsIFile *aDirectory) |
Enumerates a given directory specified by an nsIFile object. This is a class to get around bug 24478 in the least invasive manner. At some point this needs to be cleaned up. Latest version of XULRunner this shouldn't be an issue. If we need a proper fix before then using the NSPR routines directly should be fine.
Definition at line 87 of file sbDirectoryEnumerator.cpp.
sbDirectoryEnumeratorHelper::sbDirectoryEnumeratorHelper | ( | ) |
Initializes simple data members
Definition at line 140 of file sbDirectoryEnumerator.cpp.
|
virtual |
Closes the directory if opened
Definition at line 149 of file sbDirectoryEnumerator.cpp.
nsresult sbDirectoryEnumeratorHelper::Init | ( | nsIFile * | aDirectory | ) |
Initializes the directory pointer
aDirectory | the directory to enumerate |
Definition at line 153 of file sbDirectoryEnumerator.cpp.