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.

210 lines
6.7KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-11 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. #if defined (__JUCE_CORE_JUCEHEADER__) && ! JUCE_AMALGAMATED_INCLUDE
  19. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  20. already included any other headers - just put it inside a file on its own, possibly with your config
  21. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  22. header files that the compiler may be using.
  23. */
  24. #error "Incorrect use of JUCE cpp file"
  25. #endif
  26. // Your project must contain an AppConfig.h file with your project-specific settings in it,
  27. // and your header search path must make it accessible to the module's files.
  28. #include "AppConfig.h"
  29. //==============================================================================
  30. #include "native/juce_BasicNativeHeaders.h"
  31. #include "juce_core.h"
  32. #include <locale>
  33. #include <cctype>
  34. #include <sys/timeb.h>
  35. #if ! JUCE_ANDROID
  36. #include <cwctype>
  37. #endif
  38. #if JUCE_WINDOWS
  39. #include <ctime>
  40. #include <winsock2.h>
  41. #include <ws2tcpip.h>
  42. #include <Dbghelp.h>
  43. #if ! JUCE_DONT_AUTOLINK_TO_WIN32_LIBRARIES
  44. #pragma comment (lib, "DbgHelp.lib")
  45. #endif
  46. #if JUCE_MINGW
  47. #include <ws2spi.h>
  48. #endif
  49. #else
  50. #if JUCE_LINUX || JUCE_ANDROID
  51. #include <sys/types.h>
  52. #include <sys/socket.h>
  53. #include <sys/errno.h>
  54. #include <unistd.h>
  55. #include <netinet/in.h>
  56. #endif
  57. #if JUCE_LINUX
  58. #include <langinfo.h>
  59. #endif
  60. #include <pwd.h>
  61. #include <fcntl.h>
  62. #include <netdb.h>
  63. #include <arpa/inet.h>
  64. #include <netinet/tcp.h>
  65. #include <sys/time.h>
  66. #if ! JUCE_ANDROID
  67. #include <execinfo.h>
  68. #endif
  69. #endif
  70. #if JUCE_MAC || JUCE_IOS
  71. #include <xlocale.h>
  72. #include <mach/mach.h>
  73. #endif
  74. #if JUCE_ANDROID
  75. #include <android/log.h>
  76. #endif
  77. //==============================================================================
  78. namespace juce
  79. {
  80. #include "containers/juce_AbstractFifo.cpp"
  81. #include "containers/juce_DynamicObject.cpp"
  82. #include "containers/juce_NamedValueSet.cpp"
  83. #include "containers/juce_PropertySet.cpp"
  84. #include "containers/juce_Variant.cpp"
  85. #include "files/juce_DirectoryIterator.cpp"
  86. #include "files/juce_File.cpp"
  87. #include "files/juce_FileInputStream.cpp"
  88. #include "files/juce_FileOutputStream.cpp"
  89. #include "files/juce_FileSearchPath.cpp"
  90. #include "files/juce_TemporaryFile.cpp"
  91. #include "json/juce_JSON.cpp"
  92. #include "logging/juce_FileLogger.cpp"
  93. #include "logging/juce_Logger.cpp"
  94. #include "maths/juce_BigInteger.cpp"
  95. #include "maths/juce_Expression.cpp"
  96. #include "maths/juce_Random.cpp"
  97. #include "memory/juce_MemoryBlock.cpp"
  98. #include "misc/juce_Result.cpp"
  99. #include "misc/juce_Uuid.cpp"
  100. #include "network/juce_MACAddress.cpp"
  101. #include "network/juce_NamedPipe.cpp"
  102. #include "network/juce_Socket.cpp"
  103. #include "network/juce_URL.cpp"
  104. #include "streams/juce_BufferedInputStream.cpp"
  105. #include "streams/juce_FileInputSource.cpp"
  106. #include "streams/juce_InputStream.cpp"
  107. #include "streams/juce_MemoryInputStream.cpp"
  108. #include "streams/juce_MemoryOutputStream.cpp"
  109. #include "streams/juce_OutputStream.cpp"
  110. #include "streams/juce_SubregionStream.cpp"
  111. #include "system/juce_SystemStats.cpp"
  112. #include "text/juce_CharacterFunctions.cpp"
  113. #include "text/juce_Identifier.cpp"
  114. #include "text/juce_LocalisedStrings.cpp"
  115. #include "text/juce_String.cpp"
  116. #include "text/juce_StringArray.cpp"
  117. #include "text/juce_StringPairArray.cpp"
  118. #include "text/juce_StringPool.cpp"
  119. #include "text/juce_TextDiff.cpp"
  120. #include "threads/juce_ChildProcess.cpp"
  121. #include "threads/juce_ReadWriteLock.cpp"
  122. #include "threads/juce_Thread.cpp"
  123. #include "threads/juce_ThreadPool.cpp"
  124. #include "threads/juce_TimeSliceThread.cpp"
  125. #include "time/juce_PerformanceCounter.cpp"
  126. #include "time/juce_RelativeTime.cpp"
  127. #include "time/juce_Time.cpp"
  128. #include "unit_tests/juce_UnitTest.cpp"
  129. #include "xml/juce_XmlDocument.cpp"
  130. #include "xml/juce_XmlElement.cpp"
  131. #include "zip/juce_GZIPDecompressorInputStream.cpp"
  132. #include "zip/juce_GZIPCompressorOutputStream.cpp"
  133. #include "zip/juce_ZipFile.cpp"
  134. //==============================================================================
  135. #if JUCE_MAC || JUCE_IOS
  136. #include "native/juce_osx_ObjCHelpers.h"
  137. #endif
  138. #if JUCE_ANDROID
  139. #include "native/juce_android_JNIHelpers.h"
  140. #endif
  141. #if ! JUCE_WINDOWS
  142. #include "native/juce_posix_SharedCode.h"
  143. #include "native/juce_posix_NamedPipe.cpp"
  144. #endif
  145. //==============================================================================
  146. #if JUCE_MAC || JUCE_IOS
  147. #include "native/juce_mac_Files.mm"
  148. #include "native/juce_mac_Network.mm"
  149. #include "native/juce_mac_Strings.mm"
  150. #include "native/juce_mac_SystemStats.mm"
  151. #include "native/juce_mac_Threads.mm"
  152. //==============================================================================
  153. #elif JUCE_WINDOWS
  154. #include "native/juce_win32_ComSmartPtr.h"
  155. #include "native/juce_win32_Files.cpp"
  156. #include "native/juce_win32_Network.cpp"
  157. #include "native/juce_win32_Registry.cpp"
  158. #include "native/juce_win32_SystemStats.cpp"
  159. #include "native/juce_win32_Threads.cpp"
  160. //==============================================================================
  161. #elif JUCE_LINUX
  162. #include "native/juce_linux_Files.cpp"
  163. #include "native/juce_linux_Network.cpp"
  164. #include "native/juce_linux_SystemStats.cpp"
  165. #include "native/juce_linux_Threads.cpp"
  166. //==============================================================================
  167. #elif JUCE_ANDROID
  168. #include "native/juce_android_Files.cpp"
  169. #include "native/juce_android_Misc.cpp"
  170. #include "native/juce_android_Network.cpp"
  171. #include "native/juce_android_SystemStats.cpp"
  172. #include "native/juce_android_Threads.cpp"
  173. #endif
  174. #include "threads/juce_HighResolutionTimer.cpp"
  175. }