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.

120 lines
5.6KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-7 by Raw Material Software ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the
  7. GNU General Public License, as published by the Free Software Foundation;
  8. either version 2 of the License, or (at your option) any later version.
  9. JUCE is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with JUCE; if not, visit www.gnu.org/licenses or write to the
  15. Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  16. Boston, MA 02111-1307 USA
  17. ------------------------------------------------------------------------------
  18. If you'd like to release a closed-source product which uses JUCE, commercial
  19. licenses are also available: visit www.rawmaterialsoftware.com/juce for
  20. more information.
  21. ==============================================================================
  22. */
  23. /*
  24. This file wraps together all the mac-specific code, so that
  25. we can include all the native headers just once, and compile all our
  26. platform-specific stuff in one big lump, keeping it out of the way of
  27. the rest of the codebase.
  28. */
  29. #include "juce_mac_NativeIncludes.h"
  30. BEGIN_JUCE_NAMESPACE
  31. //==============================================================================
  32. #include "../../../src/juce_core/basics/juce_Singleton.h"
  33. #include "../../../src/juce_core/basics/juce_Random.h"
  34. #include "../../../src/juce_core/basics/juce_SystemStats.h"
  35. #include "../../../src/juce_core/threads/juce_Process.h"
  36. #include "../../../src/juce_core/threads/juce_Thread.h"
  37. #include "../../../src/juce_core/threads/juce_InterProcessLock.h"
  38. #include "../../../src/juce_core/io/files/juce_FileInputStream.h"
  39. #include "../../../src/juce_core/io/network/juce_URL.h"
  40. #include "../../../src/juce_core/misc/juce_PlatformUtilities.h"
  41. #include "../../../src/juce_core/text/juce_LocalisedStrings.h"
  42. #include "../../../src/juce_appframework/application/juce_DeletedAtShutdown.h"
  43. #include "../../../src/juce_appframework/application/juce_Application.h"
  44. #include "../../../src/juce_appframework/application/juce_SystemClipboard.h"
  45. #include "../../../src/juce_appframework/events/juce_MessageManager.h"
  46. #include "../../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h"
  47. #include "../../../src/juce_appframework/gui/graphics/imaging/juce_ImageFileFormat.h"
  48. #include "../../../src/juce_appframework/gui/components/windows/juce_AlertWindow.h"
  49. #include "../../../src/juce_appframework/gui/components/juce_Desktop.h"
  50. #include "../../../src/juce_appframework/gui/components/menus/juce_MenuBarModel.h"
  51. #include "../../../src/juce_appframework/gui/components/special/juce_OpenGLComponent.h"
  52. #include "../../../src/juce_appframework/gui/components/special/juce_QuickTimeMovieComponent.h"
  53. #include "../../../src/juce_appframework/gui/components/mouse/juce_DragAndDropContainer.h"
  54. #include "../../../src/juce_appframework/gui/components/keyboard/juce_KeyPressMappingSet.h"
  55. #include "../../../src/juce_appframework/gui/components/special/juce_NSViewComponent.h"
  56. #include "../../../src/juce_appframework/gui/components/layout/juce_ComponentMovementWatcher.h"
  57. #include "../../../src/juce_appframework/gui/components/special/juce_WebBrowserComponent.h"
  58. #include "../../../src/juce_appframework/gui/components/filebrowser/juce_FileChooser.h"
  59. #include "../../../src/juce_appframework/audio/audio_file_formats/juce_AudioCDBurner.h"
  60. #include "../../../src/juce_appframework/audio/audio_sources/juce_AudioSource.h"
  61. #include "../../../src/juce_appframework/audio/dsp/juce_AudioDataConverters.h"
  62. #include "../../../src/juce_appframework/audio/devices/juce_AudioIODeviceType.h"
  63. #include "../../../src/juce_appframework/audio/devices/juce_MidiOutput.h"
  64. #include "../../../src/juce_appframework/audio/devices/juce_MidiInput.h"
  65. #undef Point
  66. //==============================================================================
  67. #ifndef JUCE_ObjCExtraSuffix
  68. #define JUCE_ObjCExtraSuffix 2
  69. #endif
  70. #define appendMacro1(a, b, c, d) a ## _ ## b ## _ ## c ## _ ## d
  71. #define appendMacro2(a, b, c, d) appendMacro1(a, b, c, d)
  72. #define MakeObjCClassName(rootName) appendMacro2 (rootName, JUCE_MAJOR_VERSION, JUCE_MINOR_VERSION, JUCE_ObjCExtraSuffix)
  73. //==============================================================================
  74. #define JUCE_INCLUDED_FILE 1
  75. // Now include the actual code files..
  76. #include "juce_mac_Strings.mm"
  77. #include "juce_mac_SystemStats.mm"
  78. #include "juce_mac_Network.mm"
  79. #include "juce_mac_Threads.mm"
  80. #include "juce_posix_SharedCode.h"
  81. #include "juce_mac_Files.mm"
  82. #include "juce_mac_MiscUtilities.mm"
  83. #include "juce_mac_Debugging.mm"
  84. #if ! JUCE_ONLY_BUILD_CORE_LIBRARY
  85. #include "juce_mac_NSViewComponentPeer.mm"
  86. #include "juce_mac_MouseCursor.mm"
  87. #include "juce_mac_NSViewComponent.mm"
  88. #include "juce_mac_AppleRemote.mm"
  89. #include "juce_mac_OpenGLComponent.mm"
  90. #include "juce_mac_MainMenu.mm"
  91. #include "juce_mac_FileChooser.mm"
  92. #include "juce_mac_QuickTimeMovieComponent.mm"
  93. #include "juce_mac_AudioCDBurner.mm"
  94. #include "juce_mac_Fonts.mm"
  95. #include "juce_mac_MessageManager.mm"
  96. #include "juce_mac_WebBrowserComponent.mm"
  97. #include "juce_mac_CoreAudio.cpp"
  98. #include "juce_mac_CoreMidi.cpp"
  99. #endif
  100. END_JUCE_NAMESPACE