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.

96 lines
3.2KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2015 - ROLI Ltd.
  5. Permission is granted to use this software under the terms of either:
  6. a) the GPL v2 (or any later version)
  7. b) the Affero GPL v3
  8. Details of these licenses can be found at: www.gnu.org/licenses
  9. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  10. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  11. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  12. ------------------------------------------------------------------------------
  13. To release a closed-source product which uses JUCE, commercial licenses are
  14. available: visit www.juce.com for more information.
  15. ==============================================================================
  16. */
  17. #ifdef JUCE_EVENTS_H_INCLUDED
  18. /* When you add this cpp file to your project, you mustn't include it in a file where you've
  19. already included any other headers - just put it inside a file on its own, possibly with your config
  20. flags preceding it, but don't include anything else. That also includes avoiding any automatic prefix
  21. header files that the compiler may be using.
  22. */
  23. #error "Incorrect use of JUCE cpp file"
  24. #endif
  25. #define JUCE_CORE_INCLUDE_OBJC_HELPERS 1
  26. #define JUCE_CORE_INCLUDE_JNI_HELPERS 1
  27. #define JUCE_CORE_INCLUDE_NATIVE_HEADERS 1
  28. #define JUCE_EVENTS_INCLUDE_WIN32_MESSAGE_WINDOW 1
  29. #include "juce_events.h"
  30. //==============================================================================
  31. #if JUCE_MAC
  32. #import <IOKit/IOKitLib.h>
  33. #import <IOKit/IOCFPlugIn.h>
  34. #import <IOKit/hid/IOHIDLib.h>
  35. #import <IOKit/hid/IOHIDKeys.h>
  36. #import <IOKit/pwr_mgt/IOPMLib.h>
  37. #elif JUCE_LINUX
  38. #include <X11/Xlib.h>
  39. #include <X11/Xresource.h>
  40. #include <X11/Xutil.h>
  41. #undef KeyPress
  42. #include <unistd.h>
  43. #endif
  44. //==============================================================================
  45. namespace juce
  46. {
  47. #include "messages/juce_ApplicationBase.cpp"
  48. #include "messages/juce_DeletedAtShutdown.cpp"
  49. #include "messages/juce_MessageListener.cpp"
  50. #include "messages/juce_MessageManager.cpp"
  51. #include "broadcasters/juce_ActionBroadcaster.cpp"
  52. #include "broadcasters/juce_AsyncUpdater.cpp"
  53. #include "broadcasters/juce_ChangeBroadcaster.cpp"
  54. #include "timers/juce_MultiTimer.cpp"
  55. #include "timers/juce_Timer.cpp"
  56. #include "interprocess/juce_InterprocessConnection.cpp"
  57. #include "interprocess/juce_InterprocessConnectionServer.cpp"
  58. #include "interprocess/juce_ConnectedChildProcess.cpp"
  59. //==============================================================================
  60. #if JUCE_MAC
  61. #include "native/juce_osx_MessageQueue.h"
  62. #include "native/juce_mac_MessageManager.mm"
  63. #elif JUCE_IOS
  64. #include "native/juce_osx_MessageQueue.h"
  65. #include "native/juce_ios_MessageManager.mm"
  66. #elif JUCE_WINDOWS
  67. #include "native/juce_win32_Messaging.cpp"
  68. #elif JUCE_LINUX
  69. #include "native/juce_ScopedXLock.h"
  70. #include "native/juce_linux_Messaging.cpp"
  71. #elif JUCE_ANDROID
  72. #include "native/juce_android_Messaging.cpp"
  73. #endif
  74. }