80 void setDirectory (
const File& directory,
81 bool includeDirectories,
101 bool isStillLoading()
const;
106 void setIgnoresHiddenFiles (
bool shouldIgnoreHiddenFiles);
111 bool ignoresHiddenFiles()
const;
120 void setFileFilter (
const FileFilter* newFileFilter);
195 bool contains (
const File&)
const;
211 std::atomic<bool>
shouldStop {
true }, isSearching {
false };
220 Time creationTime,
bool isReadOnly);
#define noexcept
Definition DistrhoDefines.h:72
ChangeBroadcaster() noexcept
Definition juce_ChangeBroadcaster.cpp:26
Definition juce_CriticalSection.h:43
const File & getDirectory() const noexcept
Definition juce_DirectoryContentsList.h:73
bool isFindingFiles() const noexcept
Definition juce_DirectoryContentsList.h:92
void stopSearching()
Definition juce_DirectoryContentsList.cpp:87
bool checkNextFile(bool &hasChanged)
Definition juce_DirectoryContentsList.cpp:203
bool getFileInfo(int index, FileInfo &resultInfo) const
Definition juce_DirectoryContentsList.cpp:133
OwnedArray< FileInfo > files
Definition juce_DirectoryContentsList.h:208
std::unique_ptr< RangedDirectoryIterator > fileFindHandle
Definition juce_DirectoryContentsList.h:210
void changed()
Definition juce_DirectoryContentsList.cpp:172
bool addFile(const File &, bool isDir, int64 fileSize, Time modTime, Time creationTime, bool isReadOnly)
Definition juce_DirectoryContentsList.cpp:234
bool wasEmpty
Definition juce_DirectoryContentsList.h:213
int getNumFiles() const noexcept
Definition juce_DirectoryContentsList.cpp:127
std::atomic< bool > shouldStop
Definition juce_DirectoryContentsList.h:211
File root
Definition juce_DirectoryContentsList.h:202
File getFile(int index) const
Definition juce_DirectoryContentsList.cpp:146
TimeSliceThread & getTimeSliceThread() const noexcept
Definition juce_DirectoryContentsList.h:199
bool isFindingDirectories() const noexcept
Definition juce_DirectoryContentsList.h:87
DirectoryContentsList(const FileFilter *fileFilter, TimeSliceThread &threadToUse)
Definition juce_DirectoryContentsList.cpp:29
const FileFilter * getFilter() const noexcept
Definition juce_DirectoryContentsList.h:192
int fileTypeFlags
Definition juce_DirectoryContentsList.h:205
CriticalSection fileListLock
Definition juce_DirectoryContentsList.h:207
TimeSliceThread & thread
Definition juce_DirectoryContentsList.h:204
const FileFilter * fileFilter
Definition juce_DirectoryContentsList.h:203
void setTypeFlags(int)
Definition juce_DirectoryContentsList.cpp:78
int useTimeSlice() override
Definition juce_DirectoryContentsList.cpp:178
Definition juce_FileFilter.h:38
Definition juce_File.h:45
@ ignoreHiddenFiles
Definition juce_File.h:562
@ findDirectories
Definition juce_File.h:559
@ findFiles
Definition juce_File.h:560
Definition juce_OwnedArray.h:51
Definition juce_String.h:53
Definition juce_Time.h:37
Definition juce_TimeSliceThread.h:44
friend class TimeSliceThread
Definition juce_TimeSliceThread.h:68
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
long long int64
Definition juce_MathsFunctions.h:54
Definition juce_DirectoryContentsList.h:126
String filename
Definition juce_DirectoryContentsList.h:135
Time creationTime
Definition juce_DirectoryContentsList.h:148
Time modificationTime
Definition juce_DirectoryContentsList.h:143
bool isDirectory
Definition juce_DirectoryContentsList.h:151
int64 fileSize
Definition juce_DirectoryContentsList.h:138
bool isReadOnly
Definition juce_DirectoryContentsList.h:154
#define const
Definition zconf.h:137