25 #ifndef JUCE_DIRECTORYCONTENTSLIST_H_INCLUDED 26 #define JUCE_DIRECTORYCONTENTSLIST_H_INCLUDED 78 void setDirectory (
const File& directory,
79 bool includeDirectories,
99 bool isStillLoading()
const;
104 void setIgnoresHiddenFiles (
bool shouldIgnoreHiddenFiles);
109 bool ignoresHiddenFiles()
const;
118 void setFileFilter (
const FileFilter* newFileFilter);
177 bool getFileInfo (
int index,
FileInfo& resultInfo)
const;
185 File getFile (
int index)
const;
193 bool contains (
const File&)
const;
209 bool volatile shouldStop;
211 int useTimeSlice()
override;
212 void stopSearching();
214 bool checkNextFile (
bool& hasChanged);
215 bool addFile (
const File&,
bool isDir,
int64 fileSize,
Time modTime,
216 Time creationTime,
bool isReadOnly);
217 void setTypeFlags (
int);
223 #endif // JUCE_DIRECTORYCONTENTSLIST_H_INCLUDED Definition: juce_File.h:534
Definition: juce_TimeSliceThread.h:47
int64 fileSize
Definition: juce_DirectoryContentsList.h:136
#define noexcept
Definition: juce_CompilerSupport.h:141
const File & getDirectory() const noexcept
Definition: juce_DirectoryContentsList.h:71
Definition: juce_DirectoryContentsList.h:39
Definition: juce_Time.h:41
const FileFilter * getFilter() const noexcept
Definition: juce_DirectoryContentsList.h:190
Definition: juce_DirectoryContentsList.h:123
Definition: juce_FileFilter.h:42
Definition: juce_String.h:43
Definition: juce_ChangeBroadcaster.h:35
#define JUCE_API
Definition: juce_StandardHeader.h:139
Definition: juce_CriticalSection.h:47
TimeSliceThread & getTimeSliceThread() const noexcept
Definition: juce_DirectoryContentsList.h:197
Definition: juce_File.h:533
bool isReadOnly
Definition: juce_DirectoryContentsList.h:152
long long int64
Definition: juce_MathsFunctions.h:60
bool isDirectory
Definition: juce_DirectoryContentsList.h:149
int getNumFiles() const noexcept
Definition: juce_DirectoryContentsList.h:165
Definition: juce_OwnedArray.h:55
Definition: juce_TimeSliceThread.h:84
Time creationTime
Definition: juce_DirectoryContentsList.h:146
Time modificationTime
Definition: juce_DirectoryContentsList.h:141
bool isFindingDirectories() const noexcept
Definition: juce_DirectoryContentsList.h:85
Definition: juce_File.h:45
bool isFindingFiles() const noexcept
Definition: juce_DirectoryContentsList.h:90
String filename
Definition: juce_DirectoryContentsList.h:133