Go to the documentation of this file.
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;
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
bool isReadOnly
Definition: juce_DirectoryContentsList.h:152
Definition: juce_ChangeBroadcaster.h:35
bool isDirectory
Definition: juce_DirectoryContentsList.h:149
Definition: juce_String.h:43
const File & getDirectory() const noexcept
Definition: juce_DirectoryContentsList.h:71
Time creationTime
Definition: juce_DirectoryContentsList.h:146
#define JUCE_API
Definition: juce_StandardHeader.h:139
Definition: juce_CriticalSection.h:47
Time modificationTime
Definition: juce_DirectoryContentsList.h:141
Definition: juce_DirectoryContentsList.h:39
const FileFilter * getFilter() const noexcept
Definition: juce_DirectoryContentsList.h:190
TimeSliceThread & getTimeSliceThread() const noexcept
Definition: juce_DirectoryContentsList.h:197
#define noexcept
Definition: juce_CompilerSupport.h:141
Definition: juce_File.h:45
String filename
Definition: juce_DirectoryContentsList.h:133
Definition: juce_DirectoryContentsList.h:123
int getNumFiles() const noexcept
Definition: juce_DirectoryContentsList.h:165
virtual int useTimeSlice()=0
@ findDirectories
Definition: juce_File.h:533
Definition: juce_OwnedArray.h:55
int64 fileSize
Definition: juce_DirectoryContentsList.h:136
Definition: juce_Time.h:41
Definition: juce_FileFilter.h:42
bool isFindingFiles() const noexcept
Definition: juce_DirectoryContentsList.h:90
long long int64
Definition: juce_MathsFunctions.h:60
Definition: juce_TimeSliceThread.h:84
Definition: juce_TimeSliceThread.h:47
@ findFiles
Definition: juce_File.h:534
bool isFindingDirectories() const noexcept
Definition: juce_DirectoryContentsList.h:85