ios file handling updates. restore editor window size. double-click group order toggles enabled.
This commit is contained in:
@ -423,6 +423,14 @@ public:
|
||||
}
|
||||
#endif
|
||||
|
||||
void urlOpened(const URL& url) {
|
||||
if (urlOpenedCallback)
|
||||
urlOpenedCallback(url);
|
||||
}
|
||||
|
||||
std::function<void(const URL & url)> urlOpenedCallback;
|
||||
|
||||
|
||||
static StandalonePluginHolder* getInstance();
|
||||
|
||||
//==============================================================================
|
||||
@ -783,6 +791,10 @@ private:
|
||||
if (auto * sonoeditor = dynamic_cast<PaulstretchpluginAudioProcessorEditor*>(editor.get())) {
|
||||
sonoeditor->getAudioDeviceManager = [this]() { return &owner.getDeviceManager(); };
|
||||
sonoeditor->showAudioSettingsDialog = [this](Component* calloutTarget, Component* calloutParent) { owner.pluginHolder->showAudioSettingsDialog(calloutTarget, calloutParent); };
|
||||
|
||||
owner.pluginHolder->urlOpenedCallback = [sonoeditor](const URL& url) {
|
||||
sonoeditor->urlOpened(url);
|
||||
};
|
||||
}
|
||||
|
||||
editor->addComponentListener (this);
|
||||
|
Reference in New Issue
Block a user