Loading...
Searching...
No Matches
juce::KnownPluginList::CustomScanner Class Referenceabstract

Detailed Description

Class to define a custom plugin scanner.

Public Member Functions

 CustomScanner ()
virtual ~CustomScanner ()
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.
virtual void scanFinished ()
 Called when a scan has finished, to allow clean-up of resources.
bool shouldExit () const noexcept
 Returns true if the current scan should be abandoned.

Constructors and Destructors

◆ CustomScanner()

juce::KnownPluginList::CustomScanner::CustomScanner ( )

◆ ~CustomScanner()

virtual juce::KnownPluginList::CustomScanner::~CustomScanner ( )
virtual

Member Functions

◆ findPluginTypesFor()

virtual bool juce::KnownPluginList::CustomScanner::findPluginTypesFor ( AudioPluginFormat & format,
OwnedArray< PluginDescription > & result,
const String & fileOrIdentifier )
pure virtual

Attempts to load the given file and find a list of plugins in it.

Returns
true if the plugin loaded, false if it crashed

◆ scanFinished()

virtual void juce::KnownPluginList::CustomScanner::scanFinished ( )
virtual

Called when a scan has finished, to allow clean-up of resources.

◆ shouldExit()

bool juce::KnownPluginList::CustomScanner::shouldExit ( ) const
noexcept

Returns true if the current scan should be abandoned.

Any blocking methods should check this value repeatedly and return if if becomes true.

linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram