PluginDirectoryScanner::skipNextFile()


#1

Hi Jules,

I would like to suggest an enhancement for the PluginDirectoryScanner:

bool PluginDirectoryScanner::skipNextFile()
{
++nextIndex;
progress = nextIndex / (float) filesOrIdentifiersToScan.size();
return nextIndex < filesOrIdentifiersToScan.size();
}

I use this method in combination with getNextPluginFileThatWillBeScanned() to skip myself (a plug that acts as host).

Best, knutterton


#2

Yes, that seems like a good idea, thanks!