The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

145 lines
5.7KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-10 by Raw Material Software Ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the GNU General
  7. Public License (Version 2), as published by the Free Software Foundation.
  8. A copy of the license is included in the JUCE distribution, or can be found
  9. online at www.gnu.org/licenses.
  10. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  13. ------------------------------------------------------------------------------
  14. To release a closed-source product which uses JUCE, commercial licenses are
  15. available: visit www.rawmaterialsoftware.com/juce for more information.
  16. ==============================================================================
  17. */
  18. /*
  19. This file wraps together all the mac-specific code, so that
  20. we can include all the native headers just once, and compile all our
  21. platform-specific stuff in one big lump, keeping it out of the way of
  22. the rest of the codebase.
  23. */
  24. #include "../core/juce_TargetPlatform.h"
  25. #if JUCE_MAC || JUCE_IPHONE
  26. #include "mac/juce_mac_NativeIncludes.h"
  27. BEGIN_JUCE_NAMESPACE
  28. //==============================================================================
  29. #include "../core/juce_Singleton.h"
  30. #include "../core/juce_Random.h"
  31. #include "../core/juce_SystemStats.h"
  32. #include "../threads/juce_Process.h"
  33. #include "../threads/juce_Thread.h"
  34. #include "../threads/juce_InterProcessLock.h"
  35. #include "../io/files/juce_FileInputStream.h"
  36. #include "../io/files/juce_FileOutputStream.h"
  37. #include "../io/files/juce_NamedPipe.h"
  38. #include "../io/files/juce_DirectoryIterator.h"
  39. #include "../io/network/juce_URL.h"
  40. #include "../io/streams/juce_MemoryInputStream.h"
  41. #include "../io/streams/juce_BufferedInputStream.h"
  42. #include "../core/juce_PlatformUtilities.h"
  43. #include "../text/juce_LocalisedStrings.h"
  44. #include "../utilities/juce_DeletedAtShutdown.h"
  45. #include "../application/juce_Application.h"
  46. #include "../utilities/juce_SystemClipboard.h"
  47. #include "../events/juce_MessageManager.h"
  48. #include "../gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h"
  49. #include "../gui/graphics/imaging/juce_ImageFileFormat.h"
  50. #include "../gui/graphics/imaging/juce_CameraDevice.h"
  51. #include "../gui/components/windows/juce_AlertWindow.h"
  52. #include "../gui/components/windows/juce_ComponentPeer.h"
  53. #include "../gui/components/juce_Desktop.h"
  54. #include "../gui/components/menus/juce_MenuBarModel.h"
  55. #include "../gui/components/special/juce_OpenGLComponent.h"
  56. #include "../gui/components/special/juce_QuickTimeMovieComponent.h"
  57. #include "../gui/components/mouse/juce_DragAndDropContainer.h"
  58. #include "../gui/components/mouse/juce_MouseEvent.h"
  59. #include "../gui/components/mouse/juce_MouseInputSource.h"
  60. #include "../gui/components/keyboard/juce_KeyPressMappingSet.h"
  61. #include "../gui/components/special/juce_NSViewComponent.h"
  62. #include "../gui/components/layout/juce_ComponentMovementWatcher.h"
  63. #include "../gui/components/special/juce_WebBrowserComponent.h"
  64. #include "../gui/components/filebrowser/juce_FileChooser.h"
  65. #include "../audio/audio_file_formats/juce_AudioCDBurner.h"
  66. #include "../audio/audio_file_formats/juce_AudioCDReader.h"
  67. #include "../audio/audio_sources/juce_AudioSource.h"
  68. #include "../audio/dsp/juce_AudioDataConverters.h"
  69. #include "../audio/devices/juce_AudioIODeviceType.h"
  70. #include "../audio/devices/juce_MidiOutput.h"
  71. #include "../audio/devices/juce_MidiInput.h"
  72. #undef Point
  73. //==============================================================================
  74. #define JUCE_INCLUDED_FILE 1
  75. // Now include the actual code files..
  76. #include "mac/juce_mac_ObjCSuffix.h"
  77. #include "mac/juce_mac_Strings.mm"
  78. #include "mac/juce_mac_SystemStats.mm"
  79. #include "mac/juce_mac_Network.mm"
  80. #include "common/juce_posix_NamedPipe.cpp"
  81. #include "mac/juce_mac_Threads.mm"
  82. #include "common/juce_posix_SharedCode.h"
  83. #include "mac/juce_mac_Files.mm"
  84. #if JUCE_IPHONE
  85. #include "mac/juce_iphone_MiscUtilities.mm"
  86. #else
  87. #include "mac/juce_mac_MiscUtilities.mm"
  88. #endif
  89. #include "mac/juce_mac_Debugging.mm"
  90. #if ! JUCE_ONLY_BUILD_CORE_LIBRARY
  91. #if JUCE_IPHONE
  92. #include "mac/juce_mac_Fonts.mm"
  93. #include "mac/juce_mac_CoreGraphicsContext.mm"
  94. #include "mac/juce_iphone_UIViewComponentPeer.mm"
  95. #include "mac/juce_iphone_MessageManager.mm"
  96. #include "mac/juce_mac_FileChooser.mm"
  97. #include "mac/juce_mac_OpenGLComponent.mm"
  98. #include "mac/juce_mac_MouseCursor.mm"
  99. #include "mac/juce_mac_WebBrowserComponent.mm"
  100. #include "mac/juce_iphone_Audio.cpp"
  101. #include "mac/juce_mac_CoreMidi.cpp"
  102. #else
  103. #include "mac/juce_mac_Fonts.mm" // (must go before juce_mac_CoreGraphicsContext.mm)
  104. #include "mac/juce_mac_CoreGraphicsContext.mm"
  105. #include "mac/juce_mac_NSViewComponentPeer.mm"
  106. #include "mac/juce_mac_MouseCursor.mm"
  107. #include "mac/juce_mac_NSViewComponent.mm"
  108. #include "mac/juce_mac_AppleRemote.mm"
  109. #include "mac/juce_mac_OpenGLComponent.mm"
  110. #include "mac/juce_mac_MainMenu.mm"
  111. #include "mac/juce_mac_FileChooser.mm"
  112. #include "mac/juce_mac_QuickTimeMovieComponent.mm"
  113. #include "mac/juce_mac_AudioCDBurner.mm"
  114. #include "mac/juce_mac_AudioCDReader.mm"
  115. #include "mac/juce_mac_MessageManager.mm"
  116. #include "mac/juce_mac_WebBrowserComponent.mm"
  117. #include "mac/juce_mac_CoreAudio.cpp"
  118. #include "mac/juce_mac_CoreMidi.cpp"
  119. #include "mac/juce_mac_CameraDevice.mm"
  120. #endif
  121. #endif
  122. END_JUCE_NAMESPACE
  123. #endif