1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Added preliminary support for FreeBSD

This commit is contained in:
Tom Poole 2021-02-06 18:15:10 +00:00
parent 241bb8d430
commit 79fbde7099
79 changed files with 507 additions and 242 deletions

View file

@ -29,7 +29,7 @@
#include "UI/MainComponent.h"
//==============================================================================
#if JUCE_WINDOWS || JUCE_LINUX || JUCE_MAC
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
// Just add a simple icon to the Window system tray area or Mac menu bar..
struct DemoTaskbarComponent : public SystemTrayIconComponent,
private Timer
@ -96,7 +96,7 @@ public:
{
registerAllDemos();
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
// (This function call is for one of the demos, which involves launching a child process)
if (invokeChildProcessDemo (commandLine))
return;
@ -144,7 +144,7 @@ private:
setContentOwned (new MainComponent(), false);
setVisible (true);
#if JUCE_WINDOWS || JUCE_LINUX || JUCE_MAC
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
taskbarIcon.reset (new DemoTaskbarComponent());
#endif
}