upgrade to JUCE 5.4.3. Remove (probably) unused JUCE modules. Remove VST2 target (it's been end-of-life'd by Steinberg and by JUCE)
This commit is contained in:
@ -46,7 +46,7 @@ public:
|
||||
KnownPluginList();
|
||||
|
||||
/** Destructor. */
|
||||
~KnownPluginList();
|
||||
~KnownPluginList() override;
|
||||
|
||||
//==============================================================================
|
||||
/** Clears the list. */
|
||||
|
@ -195,7 +195,7 @@ void PluginListComponent::setNumberOfThreadsForScanning (int num)
|
||||
|
||||
void PluginListComponent::resized()
|
||||
{
|
||||
Rectangle<int> r (getLocalBounds().reduced (2));
|
||||
auto r = getLocalBounds().reduced (2);
|
||||
|
||||
optionsButton.setBounds (r.removeFromBottom (24));
|
||||
optionsButton.changeWidthToFitText (24);
|
||||
@ -379,7 +379,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
~Scanner()
|
||||
~Scanner() override
|
||||
{
|
||||
if (pool != nullptr)
|
||||
{
|
||||
@ -399,7 +399,7 @@ private:
|
||||
String pluginBeingScanned;
|
||||
double progress;
|
||||
int numThreads;
|
||||
bool allowAsync, finished;
|
||||
bool allowAsync, finished, timerReentrancyCheck = false;
|
||||
std::unique_ptr<ThreadPool> pool;
|
||||
|
||||
static void startScanCallback (int result, AlertWindow* alert, Scanner* scanner)
|
||||
@ -518,6 +518,11 @@ private:
|
||||
|
||||
void timerCallback() override
|
||||
{
|
||||
if (timerReentrancyCheck)
|
||||
return;
|
||||
|
||||
const ScopedValueSetter<bool> setter (timerReentrancyCheck, true);
|
||||
|
||||
if (pool == nullptr)
|
||||
{
|
||||
if (doNextScan())
|
||||
|
@ -53,7 +53,7 @@ public:
|
||||
bool allowPluginsWhichRequireAsynchronousInstantiation = false);
|
||||
|
||||
/** Destructor. */
|
||||
~PluginListComponent();
|
||||
~PluginListComponent() override;
|
||||
|
||||
/** Changes the text in the panel's options button. */
|
||||
void setOptionsButtonText (const String& newText);
|
||||
@ -113,8 +113,6 @@ private:
|
||||
std::unique_ptr<TableListBoxModel> tableModel;
|
||||
|
||||
class Scanner;
|
||||
friend class Scanner;
|
||||
friend struct ContainerDeletePolicy<Scanner>;
|
||||
std::unique_ptr<Scanner> currentScanner;
|
||||
|
||||
void scanFinished (const StringArray&);
|
||||
|
Reference in New Issue
Block a user