|
JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation |
Interface for deciding which files are suitable for something. More...
#include "juce_FileFilter.h"
Public Member Functions | |
| FileFilter (const String &filterDescription) | |
| Creates a filter with the given description. | |
| virtual | ~FileFilter () |
| Destructor. | |
| const String & | getDescription () const noexcept |
| Returns the description that the filter was created with. | |
| virtual bool | isFileSuitable (const File &file) const =0 |
| Should return true if this file is suitable for inclusion in whatever context the object is being used. | |
| virtual bool | isDirectorySuitable (const File &file) const =0 |
| Should return true if this directory is suitable for inclusion in whatever context the object is being used. | |
Protected Attributes | |
| String | description |
Interface for deciding which files are suitable for something.
For example, this is used by DirectoryContentsList to select which files go into the list.
@tags{Core}
Definition at line 37 of file juce_FileFilter.h.
Creates a filter with the given description.
The description can be returned later with the getDescription() method.
Definition at line 26 of file juce_FileFilter.cpp.
|
virtual |
Destructor.
Definition at line 31 of file juce_FileFilter.cpp.
Returns the description that the filter was created with.
Definition at line 35 of file juce_FileFilter.cpp.
Should return true if this directory is suitable for inclusion in whatever context the object is being used.
Implemented in juce::FileBrowserComponent, and juce::WildcardFileFilter.
Should return true if this file is suitable for inclusion in whatever context the object is being used.
Implemented in juce::FileBrowserComponent, and juce::WildcardFileFilter.
|
protected |
Definition at line 68 of file juce_FileFilter.h.