Audio plugin host https://kx.studio/carla
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.

104 lines
3.7KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2016 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of the ISC license
  6. http://www.isc.org/downloads/software-support-policy/isc-license/
  7. Permission to use, copy, modify, and/or distribute this software for any
  8. purpose with or without fee is hereby granted, provided that the above
  9. copyright notice and this permission notice appear in all copies.
  10. THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD
  11. TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
  12. FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT,
  13. OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
  14. USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
  15. TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
  16. OF THIS SOFTWARE.
  17. -----------------------------------------------------------------------------
  18. To release a closed-source product which uses other parts of JUCE not
  19. licensed under the ISC terms, commercial licenses are available: visit
  20. www.juce.com for more information.
  21. ==============================================================================
  22. */
  23. #ifdef JUCE_EVENTS_H_INCLUDED
  24. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  25. already included any other headers - just put it inside a file on its own, possibly with your config
  26. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  27. header files that the compiler may be using.
  28. */
  29. #error "Incorrect use of JUCE cpp file"
  30. #endif
  31. #include "AppConfig.h"
  32. #define JUCE_CORE_INCLUDE_OBJC_HELPERS 1
  33. #define JUCE_CORE_INCLUDE_JNI_HELPERS 1
  34. #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
  35. #define JUCE_EVENTS_INCLUDE_WIN32_MESSAGE_WINDOW 1
  36. #include "juce_events.h"
  37. //==============================================================================
  38. #if JUCE_MAC
  39. #import <IOKit/IOKitLib.h>
  40. #import <IOKit/IOCFPlugIn.h>
  41. #import <IOKit/hid/IOHIDLib.h>
  42. #import <IOKit/hid/IOHIDKeys.h>
  43. #import <IOKit/pwr_mgt/IOPMLib.h>
  44. #elif JUCE_LINUX
  45. #include <X11/Xlib.h>
  46. #include <X11/Xresource.h>
  47. #include <X11/Xutil.h>
  48. #undef KeyPress
  49. #include <unistd.h>
  50. #endif
  51. //==============================================================================
  52. namespace juce
  53. {
  54. #include "messages/juce_ApplicationBase.cpp"
  55. #include "messages/juce_DeletedAtShutdown.cpp"
  56. #include "messages/juce_MessageListener.cpp"
  57. #include "messages/juce_MessageManager.cpp"
  58. #include "broadcasters/juce_ActionBroadcaster.cpp"
  59. #include "broadcasters/juce_AsyncUpdater.cpp"
  60. #include "broadcasters/juce_ChangeBroadcaster.cpp"
  61. #include "timers/juce_MultiTimer.cpp"
  62. #include "timers/juce_Timer.cpp"
  63. #include "interprocess/juce_InterprocessConnection.cpp"
  64. #include "interprocess/juce_InterprocessConnectionServer.cpp"
  65. #include "interprocess/juce_ConnectedChildProcess.cpp"
  66. //==============================================================================
  67. #if JUCE_MAC
  68. #include "native/juce_osx_MessageQueue.h"
  69. #include "native/juce_mac_MessageManager.mm"
  70. #elif JUCE_IOS
  71. #include "native/juce_osx_MessageQueue.h"
  72. #include "native/juce_ios_MessageManager.mm"
  73. #elif JUCE_WINDOWS
  74. #include "native/juce_win32_Messaging.cpp"
  75. #elif JUCE_LINUX
  76. #include "native/juce_ScopedXLock.h"
  77. #include "native/juce_linux_Messaging.cpp"
  78. #elif JUCE_ANDROID
  79. #include "native/juce_android_Messaging.cpp"
  80. #endif
  81. }