mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Removed some cross-module header inclusions, replacing them with macros to optionally make native helper classes public
This commit is contained in:
parent
567e0d5fb7
commit
08b853ee35
18 changed files with 80 additions and 59 deletions
|
|
@ -31,7 +31,11 @@
|
|||
#error "Incorrect use of JUCE cpp file"
|
||||
#endif
|
||||
|
||||
#include "../juce_core/native/juce_BasicNativeHeaders.h"
|
||||
#define JUCE_CORE_INCLUDE_OBJC_HELPERS 1
|
||||
#define JUCE_CORE_INCLUDE_JNI_HELPERS 1
|
||||
#define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
|
||||
#define JUCE_GRAPHICS_INCLUDE_COREGRAPHICS_HELPERS 1
|
||||
|
||||
#include "juce_opengl.h"
|
||||
|
||||
//==============================================================================
|
||||
|
|
@ -193,8 +197,6 @@ private:
|
|||
|
||||
//==============================================================================
|
||||
#if JUCE_MAC || JUCE_IOS
|
||||
#include "../juce_core/native/juce_osx_ObjCHelpers.h"
|
||||
#include "../juce_graphics/native/juce_mac_CoreGraphicsHelpers.h"
|
||||
|
||||
#if JUCE_MAC
|
||||
#include "native/juce_OpenGL_osx.h"
|
||||
|
|
@ -209,7 +211,6 @@ private:
|
|||
#include "native/juce_OpenGL_linux.h"
|
||||
|
||||
#elif JUCE_ANDROID
|
||||
#include "../juce_core/native/juce_android_JNIHelpers.h"
|
||||
#include "native/juce_OpenGL_android.h"
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue