diff --git a/juce_Config.h b/juce_Config.h index 0723348a7d..e812b52b1e 100644 --- a/juce_Config.h +++ b/juce_Config.h @@ -297,15 +297,15 @@ #define JUCE_QUICKTIME 0 #undef JUCE_OPENGL #define JUCE_OPENGL 0 - #undef JUCE_USE_CDBURNER + #undef JUCE_USE_CDBURNER #define JUCE_USE_CDBURNER 0 - #undef JUCE_USE_CDREADER + #undef JUCE_USE_CDREADER #define JUCE_USE_CDREADER 0 - #undef JUCE_WEB_BROWSER + #undef JUCE_WEB_BROWSER #define JUCE_WEB_BROWSER 0 - #undef JUCE_PLUGINHOST_AU + #undef JUCE_PLUGINHOST_AU #define JUCE_PLUGINHOST_AU 0 - #undef JUCE_PLUGINHOST_VST + #undef JUCE_PLUGINHOST_VST #define JUCE_PLUGINHOST_VST 0 #endif diff --git a/juce_amalgamated.cpp b/juce_amalgamated.cpp index 418011d001..c90e20ceb6 100644 --- a/juce_amalgamated.cpp +++ b/juce_amalgamated.cpp @@ -444,15 +444,15 @@ #define JUCE_QUICKTIME 0 #undef JUCE_OPENGL #define JUCE_OPENGL 0 - #undef JUCE_USE_CDBURNER + #undef JUCE_USE_CDBURNER #define JUCE_USE_CDBURNER 0 - #undef JUCE_USE_CDREADER + #undef JUCE_USE_CDREADER #define JUCE_USE_CDREADER 0 - #undef JUCE_WEB_BROWSER + #undef JUCE_WEB_BROWSER #define JUCE_WEB_BROWSER 0 - #undef JUCE_PLUGINHOST_AU + #undef JUCE_PLUGINHOST_AU #define JUCE_PLUGINHOST_AU 0 - #undef JUCE_PLUGINHOST_VST + #undef JUCE_PLUGINHOST_VST #define JUCE_PLUGINHOST_VST 0 #endif @@ -915,7 +915,7 @@ protected: #include #endif -#if ! CGFLOAT_DEFINED +#if ! (CGFLOAT_DEFINED || defined (DOXYGEN)) #define CGFloat float #endif @@ -262413,9 +262413,11 @@ private: #define JUCE_ObjCExtraSuffix 3 #endif -#define appendMacro1(a, b, c, d, e) a ## _ ## b ## _ ## c ## _ ## d ## _ ## e -#define appendMacro2(a, b, c, d, e) appendMacro1(a, b, c, d, e) -#define MakeObjCClassName(rootName) appendMacro2 (rootName, JUCE_MAJOR_VERSION, JUCE_MINOR_VERSION, JUCE_BUILDNUMBER, JUCE_ObjCExtraSuffix) +#ifndef DOXYGEN + #define appendMacro1(a, b, c, d, e) a ## _ ## b ## _ ## c ## _ ## d ## _ ## e + #define appendMacro2(a, b, c, d, e) appendMacro1(a, b, c, d, e) + #define MakeObjCClassName(rootName) appendMacro2 (rootName, JUCE_MAJOR_VERSION, JUCE_MINOR_VERSION, JUCE_BUILDNUMBER, JUCE_ObjCExtraSuffix) +#endif /*** End of inlined file: juce_mac_ObjCSuffix.h ***/ diff --git a/juce_amalgamated.h b/juce_amalgamated.h index 8a10c38243..17975d293b 100644 --- a/juce_amalgamated.h +++ b/juce_amalgamated.h @@ -483,15 +483,15 @@ #define JUCE_QUICKTIME 0 #undef JUCE_OPENGL #define JUCE_OPENGL 0 - #undef JUCE_USE_CDBURNER + #undef JUCE_USE_CDBURNER #define JUCE_USE_CDBURNER 0 - #undef JUCE_USE_CDREADER + #undef JUCE_USE_CDREADER #define JUCE_USE_CDREADER 0 - #undef JUCE_WEB_BROWSER + #undef JUCE_WEB_BROWSER #define JUCE_WEB_BROWSER 0 - #undef JUCE_PLUGINHOST_AU + #undef JUCE_PLUGINHOST_AU #define JUCE_PLUGINHOST_AU 0 - #undef JUCE_PLUGINHOST_VST + #undef JUCE_PLUGINHOST_VST #define JUCE_PLUGINHOST_VST 0 #endif @@ -4103,8 +4103,10 @@ public: #ifndef __JUCE_CRITICALSECTION_JUCEHEADER__ #define __JUCE_CRITICALSECTION_JUCEHEADER__ -class JUCE_API ScopedLock; -class JUCE_API ScopedUnlock; +#ifndef DOXYGEN + class JUCE_API ScopedLock; + class JUCE_API ScopedUnlock; +#endif /** Prevents multiple threads from accessing shared objects at the same time. @@ -6040,7 +6042,9 @@ OutputStream& JUCE_CALLTYPE operator<< (OutputStream& stream, const NewLine&); #endif // __JUCE_OUTPUTSTREAM_JUCEHEADER__ /*** End of inlined file: juce_OutputStream.h ***/ -class JUCE_API DynamicObject; +#ifndef DOXYGEN + class JUCE_API DynamicObject; +#endif /** A variant class, that can be used to hold a range of primitive values. @@ -12284,12 +12288,14 @@ template #endif -#if ! CGFLOAT_DEFINED +#if ! (CGFLOAT_DEFINED || defined (DOXYGEN)) #define CGFloat float #endif diff --git a/src/native/mac/juce_mac_ObjCSuffix.h b/src/native/mac/juce_mac_ObjCSuffix.h index 7daeb62689..50c95d6c65 100644 --- a/src/native/mac/juce_mac_ObjCSuffix.h +++ b/src/native/mac/juce_mac_ObjCSuffix.h @@ -40,6 +40,8 @@ #define JUCE_ObjCExtraSuffix 3 #endif -#define appendMacro1(a, b, c, d, e) a ## _ ## b ## _ ## c ## _ ## d ## _ ## e -#define appendMacro2(a, b, c, d, e) appendMacro1(a, b, c, d, e) -#define MakeObjCClassName(rootName) appendMacro2 (rootName, JUCE_MAJOR_VERSION, JUCE_MINOR_VERSION, JUCE_BUILDNUMBER, JUCE_ObjCExtraSuffix) +#ifndef DOXYGEN + #define appendMacro1(a, b, c, d, e) a ## _ ## b ## _ ## c ## _ ## d ## _ ## e + #define appendMacro2(a, b, c, d, e) appendMacro1(a, b, c, d, e) + #define MakeObjCClassName(rootName) appendMacro2 (rootName, JUCE_MAJOR_VERSION, JUCE_MINOR_VERSION, JUCE_BUILDNUMBER, JUCE_ObjCExtraSuffix) +#endif \ No newline at end of file diff --git a/src/threads/juce_CriticalSection.h b/src/threads/juce_CriticalSection.h index 0502198f6b..668c0b80e6 100644 --- a/src/threads/juce_CriticalSection.h +++ b/src/threads/juce_CriticalSection.h @@ -26,8 +26,10 @@ #ifndef __JUCE_CRITICALSECTION_JUCEHEADER__ #define __JUCE_CRITICALSECTION_JUCEHEADER__ -class JUCE_API ScopedLock; -class JUCE_API ScopedUnlock; +#ifndef DOXYGEN + class JUCE_API ScopedLock; + class JUCE_API ScopedUnlock; +#endif //============================================================================== diff --git a/src/threads/juce_Thread.h b/src/threads/juce_Thread.h index 35d3ddcb67..f0e6bd7578 100644 --- a/src/threads/juce_Thread.h +++ b/src/threads/juce_Thread.h @@ -283,8 +283,10 @@ private: uint32 affinityMask_; bool volatile threadShouldExit_; + #ifndef DOXYGEN friend class MessageManager; friend void JUCE_API juce_threadEntryPoint (void*); + #endif void launchThread(); void closeThreadHandle();