PluginListComponent::Scanner


#1

Hi JUCE team,

is there a chance for PluginDescription::~PluginDescription() to be turned to virtual, so this class can be inherited?

My need is to store some custom data in this class, and return it in results when calling juce::AudioPluginFormat::findAllTypesForFile.

 

Thank you

 

Nathaniel

Waves Audio Ltd.


#2

Well no, that'd break many aspects of the design of that whole class. For example, how could it reload itself from XML without knowing which custom user class it should use for each element?

I guess it could have an extra user field added which could hold some XML for you to store your own data in.. but it definitely can't become a virtual class.