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.

115 lines
5.7KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-9 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 "juce_linux_NativeIncludes.h"
  25. BEGIN_JUCE_NAMESPACE
  26. #include "../../../src/juce_core/io/files/juce_FileInputStream.h"
  27. #include "../../../src/juce_core/io/files/juce_FileOutputStream.h"
  28. #include "../../../src/juce_core/basics/juce_SystemStats.h"
  29. #include "../../../src/juce_core/basics/juce_Time.h"
  30. #include "../../../src/juce_core/basics/juce_Random.h"
  31. #include "../../../src/juce_core/io/network/juce_URL.h"
  32. #include "../../../src/juce_core/io/files/juce_NamedPipe.h"
  33. #include "../../../src/juce_core/threads/juce_InterProcessLock.h"
  34. #include "../../../src/juce_appframework/audio/devices/juce_AudioIODeviceType.h"
  35. #include "../../../src/juce_core/threads/juce_Thread.h"
  36. #include "../../../src/juce_core/threads/juce_ScopedLock.h"
  37. #include "../../../src/juce_core/io/files/juce_File.h"
  38. #include "../../../src/juce_core/basics/juce_Singleton.h"
  39. #include "../../../src/juce_appframework/audio/dsp/juce_AudioDataConverters.h"
  40. #include "../../../src/juce_appframework/audio/audio_file_formats/juce_AudioCDReader.h"
  41. #include "../../../src/juce_appframework/gui/graphics/fonts/juce_Font.h"
  42. #include "../../../src/juce_core/io/streams/juce_MemoryInputStream.h"
  43. #include "../../../src/juce_core/io/files/juce_DirectoryIterator.h"
  44. #include "../../../src/juce_core/text/juce_XmlDocument.h"
  45. #include "../../../src/juce_appframework/application/juce_DeletedAtShutdown.h"
  46. #include "../../../src/juce_appframework/events/juce_MessageManager.h"
  47. #include "../../../src/juce_core/threads/juce_WaitableEvent.h"
  48. #include "../../../src/juce_core/threads/juce_Process.h"
  49. #include "../../../src/juce_appframework/gui/components/filebrowser/juce_FileChooser.h"
  50. #include "../../../src/juce_appframework/audio/devices/juce_MidiOutput.h"
  51. #include "../../../src/juce_appframework/audio/devices/juce_MidiInput.h"
  52. #include "../../../src/juce_core/text/juce_StringArray.h"
  53. #include "../../../src/juce_core/containers/juce_MemoryBlock.h"
  54. #include "../../../src/juce_core/misc/juce_PlatformUtilities.h"
  55. #include "../../../src/juce_core/threads/juce_CriticalSection.h"
  56. #include "../../../src/juce_appframework/events/juce_Timer.h"
  57. #include "../../../src/juce_appframework/gui/components/special/juce_WebBrowserComponent.h"
  58. #include "../../../src/juce_appframework/gui/components/keyboard/juce_KeyPress.h"
  59. #include "../../../src/juce_appframework/application/juce_SystemClipboard.h"
  60. #include "../../../src/juce_appframework/gui/components/windows/juce_AlertWindow.h"
  61. #include "../../../src/juce_appframework/gui/components/special/juce_OpenGLComponent.h"
  62. #include "../../../src/juce_appframework/gui/components/juce_Desktop.h"
  63. #include "../../../src/juce_appframework/gui/components/juce_ComponentDeletionWatcher.h"
  64. #include "../../../src/juce_appframework/gui/graphics/geometry/juce_RectangleList.h"
  65. #include "../../../src/juce_appframework/gui/graphics/imaging/juce_ImageFileFormat.h"
  66. #include "../../../src/juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h"
  67. #include "../../../src/juce_appframework/gui/components/mouse/juce_DragAndDropContainer.h"
  68. #include "../../../src/juce_appframework/gui/components/special/juce_SystemTrayIconComponent.h"
  69. #include "../../../src/juce_appframework/application/juce_Application.h"
  70. /* Remove this macro if you're having problems compiling the cpu affinity
  71. calls (the API for these has changed about quite a bit in various Linux
  72. versions, and a lot of distros seem to ship with obsolete versions)
  73. */
  74. #if defined (CPU_ISSET) && ! defined (SUPPORT_AFFINITIES)
  75. #define SUPPORT_AFFINITIES 1
  76. #endif
  77. //==============================================================================
  78. #define JUCE_INCLUDED_FILE 1
  79. // Now include the actual code files..
  80. #include "../../macosx/platform_specific_code/juce_posix_SharedCode.h"
  81. #include "juce_linux_Files.cpp"
  82. #include "../../macosx/platform_specific_code/juce_mac_NamedPipe.cpp"
  83. #include "juce_linux_Network.cpp"
  84. #include "juce_linux_SystemStats.cpp"
  85. #include "juce_linux_Threads.cpp"
  86. #if ! JUCE_ONLY_BUILD_CORE_LIBRARY
  87. #include "juce_linux_Messaging.cpp"
  88. #include "juce_linux_Fonts.cpp"
  89. #include "juce_linux_Windowing.cpp"
  90. #include "juce_linux_Audio.cpp"
  91. #include "juce_linux_Midi.cpp"
  92. #include "juce_linux_AudioCDReader.cpp"
  93. #include "juce_linux_FileChooser.cpp"
  94. #include "juce_linux_WebBrowserComponent.cpp"
  95. #endif
  96. END_JUCE_NAMESPACE