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;