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,10 @@
|
|||
#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_COM_SMART_PTR 1
|
||||
#define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
|
||||
|
||||
#include "../juce_gui_extra/juce_gui_extra.h"
|
||||
#include "juce_video.h"
|
||||
|
||||
|
|
@ -98,8 +101,6 @@ namespace juce
|
|||
{
|
||||
|
||||
#if JUCE_MAC || JUCE_IOS
|
||||
#include "../juce_core/native/juce_osx_ObjCHelpers.h"
|
||||
|
||||
#if JUCE_USE_CAMERA
|
||||
#include "native/juce_mac_CameraDevice.mm"
|
||||
#endif
|
||||
|
|
@ -109,7 +110,6 @@ namespace juce
|
|||
#endif
|
||||
|
||||
#elif JUCE_WINDOWS
|
||||
#include "../juce_core/native/juce_win32_ComSmartPtr.h"
|
||||
|
||||
#if JUCE_USE_CAMERA
|
||||
#include "native/juce_win32_CameraDevice.cpp"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue