61 int getNumTypes()
const noexcept;
91 bool scanAndAddFile (
const String& possiblePluginFileOrIdentifier,
92 bool dontRescanIfAlreadyInList,
102 bool isListingUpToDate (
const String& possiblePluginFileOrIdentifier,
117 void addToBlacklist (
const String& pluginID);
120 void removeFromBlacklist (
const String& pluginID);
123 void clearBlacklistedFiles();
135 sortByFileSystemLocation,
148 SortMethod sortMethod,
const String& currentlyTickedPluginID = {});
154 static int getIndexChosenByMenu (
const Array<PluginDescription>& types,
int menuResultCode);
158 void sort (SortMethod method,
bool forwards);
165 void recreateFromXml (
const XmlElement& xml);
194 const String& fileOrIdentifier) = 0;
197 virtual void scanFinished();
203 bool shouldExit() const noexcept;
219 [[deprecated]] PluginDescription*
const* begin() const noexcept {
jassertfalse;
return nullptr; }
220 [[deprecated]] PluginDescription**
end() noexcept {
jassertfalse;
return nullptr; }
221 [[deprecated]] PluginDescription*
const*
end() const noexcept {
jassertfalse;
return nullptr; }
225 [[deprecated]]
void addToMenu (PopupMenu& menu, SortMethod sortMethod,
const String& currentlyTickedPluginID = {})
const;
226 [[deprecated]]
int getIndexChosenByMenu (
int menuResultCode)
const;
232 Array<PluginDescription> types;
233 StringArray blacklist;
235 CriticalSection scanLock, typesArrayLock;
Holds a resizable array of primitive or copy-by-value objects.
ElementType & getReference(int index) noexcept
Returns a direct reference to one of the elements in the array, without checking the index passed in.
Holds a list of ChangeListeners, and sends messages to them when instructed.
Class to define a custom plugin scanner.
virtual bool findPluginTypesFor(AudioPluginFormat &format, OwnedArray< PluginDescription > &result, const String &fileOrIdentifier)=0
Attempts to load the given file and find a list of plugins in it.
Manages a list of plugin types.
SortMethod
Sort methods used to change the order of the plugins in the list.
String folder
The name of this folder in the tree.
A structure that recursively holds a tree of plugins.
An array designed for holding objects.
A small class to represent some facts about a particular type of plug-in.
A special array for holding a list of strings.