| @@ -305,7 +305,7 @@ public: | |||||
| #if JUCE_IOS | #if JUCE_IOS | ||||
| connectButton.setButtonText ("Connect"); | connectButton.setButtonText ("Connect"); | ||||
| connectButton.onClick = [this] { BluetoothMidiDevicePairingDialogue::open(); }; | |||||
| connectButton.onClick = [] { BluetoothMidiDevicePairingDialogue::open(); }; | |||||
| connectButton.setAlwaysOnTop (true); | connectButton.setAlwaysOnTop (true); | ||||
| addAndMakeVisible (connectButton); | addAndMakeVisible (connectButton); | ||||
| #endif | #endif | ||||
| @@ -597,7 +597,7 @@ public: | |||||
| #if JUCE_IOS | #if JUCE_IOS | ||||
| connectButton.setButtonText ("Connect"); | connectButton.setButtonText ("Connect"); | ||||
| connectButton.onClick = [this] { BluetoothMidiDevicePairingDialogue::open(); }; | |||||
| connectButton.onClick = [] { BluetoothMidiDevicePairingDialogue::open(); }; | |||||
| connectButton.setAlwaysOnTop (true); | connectButton.setAlwaysOnTop (true); | ||||
| addAndMakeVisible (connectButton); | addAndMakeVisible (connectButton); | ||||
| #endif | #endif | ||||
| @@ -596,7 +596,7 @@ public: | |||||
| #if JUCE_IOS | #if JUCE_IOS | ||||
| connectButton.setButtonText ("Connect"); | connectButton.setButtonText ("Connect"); | ||||
| connectButton.onClick = [this] { BluetoothMidiDevicePairingDialogue::open(); }; | |||||
| connectButton.onClick = [] { BluetoothMidiDevicePairingDialogue::open(); }; | |||||
| addAndMakeVisible (connectButton); | addAndMakeVisible (connectButton); | ||||
| #endif | #endif | ||||
| @@ -255,6 +255,7 @@ | |||||
| INFOPLIST_FILE = Info-App.plist; | INFOPLIST_FILE = Info-App.plist; | ||||
| INFOPLIST_PREPROCESS = NO; | INFOPLIST_PREPROCESS = NO; | ||||
| INSTALL_PATH = "$(HOME)/Applications"; | INSTALL_PATH = "$(HOME)/Applications"; | ||||
| OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Wconditional-uninitialized -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wunused-private-field -Wbool-conversion -Wextra-semi -Wno-ignored-qualifiers -Wunreachable-code"; | |||||
| PRODUCT_BUNDLE_IDENTIFIER = com.roli.juce.demorunner; | PRODUCT_BUNDLE_IDENTIFIER = com.roli.juce.demorunner; | ||||
| USE_HEADERMAP = NO; }; name = Debug; }; | USE_HEADERMAP = NO; }; name = Debug; }; | ||||
| 69330F27DD2C71609336C7D2 = {isa = XCBuildConfiguration; buildSettings = { | 69330F27DD2C71609336C7D2 = {isa = XCBuildConfiguration; buildSettings = { | ||||
| @@ -291,6 +292,7 @@ | |||||
| INFOPLIST_PREPROCESS = NO; | INFOPLIST_PREPROCESS = NO; | ||||
| INSTALL_PATH = "$(HOME)/Applications"; | INSTALL_PATH = "$(HOME)/Applications"; | ||||
| LLVM_LTO = YES; | LLVM_LTO = YES; | ||||
| OTHER_CPLUSPLUSFLAGS = "-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Wconditional-uninitialized -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wunused-private-field -Wbool-conversion -Wextra-semi -Wno-ignored-qualifiers -Wunreachable-code"; | |||||
| PRODUCT_BUNDLE_IDENTIFIER = com.roli.juce.demorunner; | PRODUCT_BUNDLE_IDENTIFIER = com.roli.juce.demorunner; | ||||
| USE_HEADERMAP = NO; }; name = Release; }; | USE_HEADERMAP = NO; }; name = Release; }; | ||||
| C01EC82F42B640CA1E54AD53 = {isa = XCBuildConfiguration; buildSettings = { | C01EC82F42B640CA1E54AD53 = {isa = XCBuildConfiguration; buildSettings = { | ||||
| @@ -122,7 +122,7 @@ | |||||
| <XCODE_IPHONE targetFolder="Builds/iOS" iosScreenOrientation="landscape" iPadScreenOrientation="landscape" | <XCODE_IPHONE targetFolder="Builds/iOS" iosScreenOrientation="landscape" iPadScreenOrientation="landscape" | ||||
| UISupportsDocumentBrowser="1" microphonePermissionNeeded="1" | UISupportsDocumentBrowser="1" microphonePermissionNeeded="1" | ||||
| iCloudPermissions="1" UIFileSharingEnabled="1" customXcodeResourceFolders="../Assets" | iCloudPermissions="1" UIFileSharingEnabled="1" customXcodeResourceFolders="../Assets" | ||||
| smallIcon="YyqWd2" bigIcon="YyqWd2"> | |||||
| smallIcon="YyqWd2" bigIcon="YyqWd2" extraCompilerFlags="-Wall -Wshadow -Wno-missing-field-initializers -Wshadow -Wshorten-64-to-32 -Wstrict-aliasing -Wuninitialized -Wunused-parameter -Wconversion -Wsign-compare -Wint-conversion -Wconditional-uninitialized -Woverloaded-virtual -Wreorder -Wconstant-conversion -Wsign-conversion -Wunused-private-field -Wbool-conversion -Wextra-semi -Wno-ignored-qualifiers -Wunreachable-code"> | |||||
| <CONFIGURATIONS> | <CONFIGURATIONS> | ||||
| <CONFIGURATION isDebug="1" name="Debug"/> | <CONFIGURATION isDebug="1" name="Debug"/> | ||||
| <CONFIGURATION isDebug="0" name="Release"/> | <CONFIGURATION isDebug="0" name="Release"/> | ||||
| @@ -93,6 +93,8 @@ public: | |||||
| // (This function call is for one of the demos, which involves launching a child process) | // (This function call is for one of the demos, which involves launching a child process) | ||||
| if (invokeChildProcessDemo (commandLine)) | if (invokeChildProcessDemo (commandLine)) | ||||
| return; | return; | ||||
| #else | |||||
| ignoreUnused (commandLine); | |||||
| #endif | #endif | ||||
| mainWindow.reset (new MainAppWindow (getApplicationName())); | mainWindow.reset (new MainAppWindow (getApplicationName())); | ||||
| @@ -971,6 +971,7 @@ bool File::createSymbolicLink (const File& linkFileToCreate, | |||||
| nativePathOfTarget.toWideCharPointer(), | nativePathOfTarget.toWideCharPointer(), | ||||
| targetFile.isDirectory() ? SYMBOLIC_LINK_FLAG_DIRECTORY : 0) != FALSE; | targetFile.isDirectory() ? SYMBOLIC_LINK_FLAG_DIRECTORY : 0) != FALSE; | ||||
| #else | #else | ||||
| ignoreUnused (nativePathOfTarget); | |||||
| jassertfalse; // symbolic links not supported on this platform! | jassertfalse; // symbolic links not supported on this platform! | ||||
| return false; | return false; | ||||
| #endif | #endif | ||||
| @@ -135,7 +135,7 @@ namespace juce | |||||
| } | } | ||||
| }]; | }]; | ||||
| MessageManager::callAsync ([self,application,app] { app->suspended(); }); | |||||
| MessageManager::callAsync ([app] { app->suspended(); }); | |||||
| #else | #else | ||||
| ignoreUnused (application); | ignoreUnused (application); | ||||
| app->suspended(); | app->suspended(); | ||||