74 const String& wildCard =
"*",
75 int whatToLookFor = File::findFiles);
99 bool next (
bool* isDirectory,
110 const File& getFile()
const;
117 float getEstimatedProgress()
const;
121 struct NativeIterator
127 bool* isDirectory,
bool* isHidden, int64*
fileSize,
131 std::unique_ptr<Pimpl> pimpl;
133 JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (NativeIterator)
137 NativeIterator fileFinder;
140 mutable int totalNumFiles = -1;
141 const int whatToLookFor;
142 const bool isRecursive;
143 bool hasBeenAdvanced =
false;
144 std::unique_ptr<DirectoryIterator> subIterator;