JUCE
Public Member Functions | List of all members
KnownPluginList::CustomScanner Class Referenceabstract

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

Constructor & Destructor Documentation

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

Member Function Documentation

virtual bool 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
virtual void KnownPluginList::CustomScanner::scanFinished ( )
virtual

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

bool 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.


The documentation for this class was generated from the following file: