@@ -1934,10 +1934,8 @@ private: | |||||
#if JUCE_IOS | #if JUCE_IOS | ||||
bool JUCE_CALLTYPE juce_isInterAppAudioConnected() { return false; } | bool JUCE_CALLTYPE juce_isInterAppAudioConnected() { return false; } | ||||
void JUCE_CALLTYPE juce_switchToHostApplication() {} | void JUCE_CALLTYPE juce_switchToHostApplication() {} | ||||
#if JUCE_MODULE_AVAILABLE_juce_gui_basics | |||||
Image JUCE_CALLTYPE juce_getIAAHostIcon (int) { return {}; } | Image JUCE_CALLTYPE juce_getIAAHostIcon (int) { return {}; } | ||||
#endif | #endif | ||||
#endif | |||||
JUCE_END_IGNORE_WARNINGS_GCC_LIKE | JUCE_END_IGNORE_WARNINGS_GCC_LIKE | ||||
#endif | #endif |
@@ -149,7 +149,6 @@ void JUCE_CALLTYPE juce_switchToHostApplication() | |||||
holder->switchToHostApplication(); | holder->switchToHostApplication(); | ||||
} | } | ||||
#if JUCE_MODULE_AVAILABLE_juce_gui_basics | |||||
Image JUCE_CALLTYPE juce_getIAAHostIcon (int size) | Image JUCE_CALLTYPE juce_getIAAHostIcon (int size) | ||||
{ | { | ||||
if (auto holder = StandalonePluginHolder::getInstance()) | if (auto holder = StandalonePluginHolder::getInstance()) | ||||
@@ -158,6 +157,5 @@ Image JUCE_CALLTYPE juce_getIAAHostIcon (int size) | |||||
return Image(); | return Image(); | ||||
} | } | ||||
#endif | #endif | ||||
#endif | |||||
#endif | #endif |
@@ -264,10 +264,8 @@ public: | |||||
bool isInterAppAudioConnected() const; | bool isInterAppAudioConnected() const; | ||||
/** Switches to the host application when Inter-App Audio is used on iOS. */ | /** Switches to the host application when Inter-App Audio is used on iOS. */ | ||||
void switchToHostApplication() const; | void switchToHostApplication() const; | ||||
#if JUCE_MODULE_AVAILABLE_juce_gui_basics | |||||
/** Gets the host app's icon when Inter-App Audio is used on iOS. */ | |||||
Image getHostIcon (int size) const; | Image getHostIcon (int size) const; | ||||
#endif | |||||
//============================================================================== | //============================================================================== | ||||
/** Returns the complete absolute path of the host application executable. */ | /** Returns the complete absolute path of the host application executable. */ | ||||
@@ -145,10 +145,7 @@ using namespace juce; | |||||
#if JucePlugin_Enable_IAA && JucePlugin_Build_Standalone && JUCE_IOS && (! JUCE_USE_CUSTOM_PLUGIN_STANDALONE_APP) | #if JucePlugin_Enable_IAA && JucePlugin_Build_Standalone && JUCE_IOS && (! JUCE_USE_CUSTOM_PLUGIN_STANDALONE_APP) | ||||
extern bool JUCE_CALLTYPE juce_isInterAppAudioConnected(); | extern bool JUCE_CALLTYPE juce_isInterAppAudioConnected(); | ||||
extern void JUCE_CALLTYPE juce_switchToHostApplication(); | extern void JUCE_CALLTYPE juce_switchToHostApplication(); | ||||
#if JUCE_MODULE_AVAILABLE_juce_gui_basics | |||||
extern Image JUCE_CALLTYPE juce_getIAAHostIcon (int); | extern Image JUCE_CALLTYPE juce_getIAAHostIcon (int); | ||||
#endif | |||||
#endif | #endif | ||||
bool PluginHostType::isInterAppAudioConnected() const | bool PluginHostType::isInterAppAudioConnected() const | ||||
@@ -183,7 +180,6 @@ bool PluginHostType::isInAAXAudioSuite (AudioProcessor& processor) | |||||
return false; | return false; | ||||
} | } | ||||
#if JUCE_MODULE_AVAILABLE_juce_gui_basics | |||||
namespace juce { | namespace juce { | ||||
extern Image JUCE_API getIconFromApplication (const String&, const int); | extern Image JUCE_API getIconFromApplication (const String&, const int); | ||||
@@ -206,4 +202,3 @@ Image PluginHostType::getHostIcon (int size) const | |||||
} | } | ||||
} | } | ||||
#endif |
@@ -28,11 +28,6 @@ class ThreadPoolJob; | |||||
class ActionListener; | class ActionListener; | ||||
class ActionBroadcaster; | class ActionBroadcaster; | ||||
//============================================================================== | |||||
#if JUCE_MODULE_AVAILABLE_juce_opengl | |||||
class OpenGLContext; | |||||
#endif | |||||
//============================================================================== | //============================================================================== | ||||
/** See MessageManager::callFunctionOnMessageThread() for use of this function type. */ | /** See MessageManager::callFunctionOnMessageThread() for use of this function type. */ | ||||
using MessageCallbackFunction = void* (void* userData); | using MessageCallbackFunction = void* (void* userData); | ||||