mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-09 23:34:20 +00:00
Demos: Fix missing prototype warning
This commit is contained in:
parent
7eb99ed8ec
commit
6dc002b89c
3 changed files with 6 additions and 6 deletions
|
|
@ -55,9 +55,6 @@
|
|||
#include "../../../DSP/WaveShaperTanhDemo.h"
|
||||
|
||||
#include "../../../Utilities/Box2DDemo.h"
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
|
||||
#include "../../../Utilities/ChildProcessDemo.h"
|
||||
#endif
|
||||
#include "../../../Utilities/CryptographyDemo.h"
|
||||
#include "../../../Utilities/JavaScriptDemo.h"
|
||||
#include "../../../Utilities/LiveConstantDemo.h"
|
||||
|
|
|
|||
|
|
@ -61,8 +61,6 @@ void registerDemos_One() noexcept;
|
|||
void registerDemos_Two() noexcept;
|
||||
|
||||
//==============================================================================
|
||||
// used by child-process demo
|
||||
bool invokeChildProcessDemo (const String& commandLine);
|
||||
void registerAllDemos() noexcept;
|
||||
|
||||
Component* createIntroDemo();
|
||||
|
|
@ -76,3 +74,8 @@ extern std::unique_ptr<AudioDeviceManager> sharedAudioDeviceManager;
|
|||
|
||||
AudioDeviceManager& getSharedAudioDeviceManager (int numInputChannels = -1, int numOutputChannels = -1);
|
||||
ApplicationCommandManager& getGlobalCommandManager();
|
||||
|
||||
// A function in this demo is called from the DemoRunner's entry point
|
||||
#if JUCE_MAC || JUCE_WINDOWS || JUCE_LINUX || JUCE_BSD
|
||||
#include "../../../Utilities/ChildProcessDemo.h"
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -303,7 +303,7 @@ public:
|
|||
child process to launch when the command line parameters indicate that we're
|
||||
being asked to run as a child process.
|
||||
*/
|
||||
bool invokeChildProcessDemo (const String& commandLine)
|
||||
inline bool invokeChildProcessDemo (const String& commandLine)
|
||||
{
|
||||
auto worker = std::make_unique<DemoWorkerProcess>();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue