sbDirectoryEnumeratorHelper Class Reference
Inheritance diagram for sbDirectoryEnumeratorHelper:
[legend]
Collaboration diagram for sbDirectoryEnumeratorHelper:
[legend]

Public Member Functions

 sbDirectoryEnumeratorHelper ()
 
virtual ~sbDirectoryEnumeratorHelper ()
 
NS_DECL_ISUPPORTS
NS_DECL_NSISIMPLEENUMERATOR
nsresult 
Init (nsIFile *aDirectory)
 

Detailed Description

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.

Constructor & Destructor Documentation

sbDirectoryEnumeratorHelper::sbDirectoryEnumeratorHelper ( )

Initializes simple data members

Definition at line 140 of file sbDirectoryEnumerator.cpp.

sbDirectoryEnumeratorHelper::~sbDirectoryEnumeratorHelper ( )
virtual

Closes the directory if opened

Definition at line 149 of file sbDirectoryEnumerator.cpp.

Member Function Documentation

nsresult sbDirectoryEnumeratorHelper::Init ( nsIFile *  aDirectory)

Initializes the directory pointer

Parameters
aDirectorythe directory to enumerate

Definition at line 153 of file sbDirectoryEnumerator.cpp.


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