Skip to content

Commit

Permalink
Update to JUCE 8.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
koteq committed Jan 4, 2025
1 parent 4ff56cf commit e544269
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ target_compile_definitions("${PROJECT_NAME}"
JUCE_PLUGINHOST_VST=0
JUCE_PLUGINHOST_VST3=1

JUCE_DISPLAY_SPLASH_SCREEN=1
JUCE_DISPLAY_SPLASH_SCREEN=0
JUCE_REPORT_APP_USAGE=0
JUCE_MODAL_LOOPS_PERMITTED=1)

Expand Down
2 changes: 1 addition & 1 deletion JUCE
Submodule JUCE updated 3224 files
8 changes: 4 additions & 4 deletions Source/HostStartup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ class PluginHostApp : public JUCEApplication

checkArguments(&options);

appProperties = new ApplicationProperties();
appProperties.reset (new ApplicationProperties());
appProperties->setStorageParameters (options);

LookAndFeel::setDefaultLookAndFeel (&lookAndFeel);

mainWindow = new IconMenu();
mainWindow.reset (new IconMenu());
#if JUCE_MAC
Process::setDockIconVisible(false);
#endif
Expand All @@ -51,11 +51,11 @@ class PluginHostApp : public JUCEApplication
}

ApplicationCommandManager commandManager;
ScopedPointer<ApplicationProperties> appProperties;
std::unique_ptr<ApplicationProperties> appProperties;
LookAndFeel_V3 lookAndFeel;

private:
ScopedPointer<IconMenu> mainWindow;
std::unique_ptr<IconMenu> mainWindow;

StringArray getParameter(String lookFor) {
StringArray parameters = getCommandLineParameterArray();
Expand Down
4 changes: 2 additions & 2 deletions Source/IconMenu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ IconMenu::IconMenu() : INDEX_EDIT(1000000), INDEX_BYPASS(2000000), INDEX_DELETE(
activePluginList.addChangeListener(this);
setIcon();
setIconTooltip(JUCEApplication::getInstance()->getApplicationName());
};
}

IconMenu::~IconMenu()
{
Expand Down Expand Up @@ -501,7 +501,7 @@ void IconMenu::showAudioSettings()
void IconMenu::reloadPlugins()
{
if (pluginListWindow == nullptr)
pluginListWindow = new PluginListWindow(*this, formatManager);
pluginListWindow.reset (new PluginListWindow(*this, formatManager));
pluginListWindow->toFront(true);
}

Expand Down
4 changes: 2 additions & 2 deletions Source/IconMenu.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class IconMenu : public SystemTrayIconComponent, private Timer, public ChangeLis
KnownPluginList activePluginList;
KnownPluginList::SortMethod pluginSortMethod;
PopupMenu menu;
ScopedPointer<PluginDirectoryScanner> scanner;
std::unique_ptr<PluginDirectoryScanner> scanner;
bool menuIconLeftClicked;
AudioProcessorGraph graph;
AudioProcessorPlayer player;
Expand All @@ -54,7 +54,7 @@ class IconMenu : public SystemTrayIconComponent, private Timer, public ChangeLis
#endif

class PluginListWindow;
ScopedPointer<PluginListWindow> pluginListWindow;
std::unique_ptr<PluginListWindow> pluginListWindow;
};

#endif /* IconMenu_hpp */

0 comments on commit e544269

Please sign in to comment.