#include <sbDirectoryEnumerator.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIDIRECTORYENUMERATOR | sbDirectoryEnumerator () |
virtual | ~sbDirectoryEnumerator () |
nsresult | Initialize () |
void | Finalize () |
Public Member Functions inherited from sbIDirectoryEnumerator | |
void | enumerate (in nsIFile aDirectory) |
Enumerate the directory specified by aDirectory. More... | |
boolean | hasMoreElements () |
Return true if more elements are available to enumerate. More... | |
nsIFile | getNext () |
Return the next file in the enumeration. More... | |
Additional Inherited Members | |
Public Attributes inherited from sbIDirectoryEnumerator | |
attribute unsigned long | maxDepth |
Maximum depth to which to enumerate. A depth of 0 will enumerate to an unlimited depth. A depth of 1 will enumerate only the base directory (same as getDirectoryEntries). More... | |
attribute boolean | directoriesOnly |
If true, only return directories in getNext. More... | |
attribute boolean | filesOnly |
If true, only return files in getNext. More... | |
This class enumerates directories.
Definition at line 90 of file sbDirectoryEnumerator.h.
sbDirectoryEnumerator::sbDirectoryEnumerator | ( | ) |
Construct a Songbird directory enumerator object.
Definition at line 527 of file sbDirectoryEnumerator.cpp.
|
virtual |
Destroy a Songbird directory enumerator object.
Definition at line 540 of file sbDirectoryEnumerator.cpp.
void sbDirectoryEnumerator::Finalize | ( | ) |
Finalize the Songbird directory enumerator.
Definition at line 575 of file sbDirectoryEnumerator.cpp.
nsresult sbDirectoryEnumerator::Initialize | ( | ) |
Initialize the Songbird directory enumerator.
Definition at line 552 of file sbDirectoryEnumerator.cpp.