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.

121 lines
5.9KB

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