78 const String& wildCard =
"*",
103 bool next (
bool* isDirectory,
114 const File& getFile()
const;
121 float getEstimatedProgress()
const;
125 struct NativeIterator
127 NativeIterator (
const File& directory,
const String& wildCard);
130 bool next (
String& filenameFound,
131 bool* isDirectory,
bool* isHidden, int64* fileSize,
132 Time* modTime,
Time* creationTime,
bool* isReadOnly);
135 std::unique_ptr<Pimpl> pimpl;
137 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NativeIterator)
141 NativeIterator fileFinder;
144 mutable int totalNumFiles = -1;
145 const int whatToLookFor;
146 const bool isRecursive;
147 bool hasBeenAdvanced =
false;
148 std::unique_ptr<DirectoryIterator> subIterator;
Searches through the files in a directory, returning each file that is found.
Represents a local file or directory.
@ findFiles
Use this flag to indicate that you want to find files.
A special array for holding a list of strings.
Holds an absolute date and time.
#define JUCE_API
This macro is added to all JUCE public class declarations.