diff --git a/modules/juce_events/messages/juce_ApplicationBase.h b/modules/juce_events/messages/juce_ApplicationBase.h index d34a3fb1a6..a5f0260c4f 100644 --- a/modules/juce_events/messages/juce_ApplicationBase.h +++ b/modules/juce_events/messages/juce_ApplicationBase.h @@ -107,9 +107,11 @@ public: If your application class returns true for this, more than one instance is permitted to run (except on the Mac where this isn't possible). - If it's false, the second instance won't start, but it you will still get a + If it's false, the second instance won't start, but you will still get a callback to anotherInstanceStarted() to tell you about this - which gives you a chance to react to what the user was trying to do. + + @see anotherInstanceStarted */ virtual bool moreThanOneInstanceAllowed() = 0; @@ -151,6 +153,9 @@ public: /** Indicates that the user has tried to start up another instance of the app. This will get called even if moreThanOneInstanceAllowed() is false. + It is currently only implemented on Windows and Mac. + + @see moreThanOneInstanceAllowed */ virtual void anotherInstanceStarted (const String& commandLine) = 0;