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.

97 lines
3.4KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2022 - Raw Material Software Limited
  5. JUCE is an open source library subject to commercial or open-source
  6. licensing.
  7. The code included in this file is provided under the terms of the ISC license
  8. http://www.isc.org/downloads/software-support-policy/isc-license. Permission
  9. To use, copy, modify, and/or distribute this software for any purpose with or
  10. without fee is hereby granted provided that the above copyright notice and
  11. this permission notice appear in all copies.
  12. JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
  13. EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
  14. DISCLAIMED.
  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_CORE_INCLUDE_COM_SMART_PTR 1
  29. #define JUCE_EVENTS_INCLUDE_WIN32_MESSAGE_WINDOW 1
  30. #if JUCE_USE_WINRT_MIDI
  31. #define JUCE_EVENTS_INCLUDE_WINRT_WRAPPER 1
  32. #endif
  33. #include "juce_events.h"
  34. //==============================================================================
  35. #if JUCE_MAC
  36. #import <IOKit/IOKitLib.h>
  37. #import <IOKit/IOCFPlugIn.h>
  38. #import <IOKit/hid/IOHIDLib.h>
  39. #import <IOKit/hid/IOHIDKeys.h>
  40. #import <IOKit/pwr_mgt/IOPMLib.h>
  41. #elif JUCE_LINUX || JUCE_BSD
  42. #include <unistd.h>
  43. #endif
  44. //==============================================================================
  45. #include "messages/juce_ApplicationBase.cpp"
  46. #include "messages/juce_DeletedAtShutdown.cpp"
  47. #include "messages/juce_MessageListener.cpp"
  48. #include "messages/juce_MessageManager.cpp"
  49. #include "broadcasters/juce_ActionBroadcaster.cpp"
  50. #include "broadcasters/juce_AsyncUpdater.cpp"
  51. #include "broadcasters/juce_ChangeBroadcaster.cpp"
  52. // #include "timers/juce_MultiTimer.cpp"
  53. #include "timers/juce_Timer.cpp"
  54. // #include "interprocess/juce_InterprocessConnection.cpp"
  55. // #include "interprocess/juce_InterprocessConnectionServer.cpp"
  56. // #include "interprocess/juce_ConnectedChildProcess.cpp"
  57. // #include "interprocess/juce_NetworkServiceDiscovery.cpp"
  58. // #include "native/juce_ScopedLowPowerModeDisabler.cpp"
  59. //==============================================================================
  60. #if JUCE_MAC || JUCE_IOS
  61. #include "native/juce_osx_MessageQueue.h"
  62. #if JUCE_MAC
  63. #include "native/juce_mac_MessageManager.mm"
  64. #else
  65. #include "native/juce_ios_MessageManager.mm"
  66. #endif
  67. #elif JUCE_WINDOWS
  68. #include "native/juce_win32_Messaging.cpp"
  69. #if JUCE_EVENTS_INCLUDE_WINRT_WRAPPER
  70. #include "native/juce_win32_WinRTWrapper.cpp"
  71. #endif
  72. #elif JUCE_LINUX || JUCE_BSD
  73. #include "native/juce_linux_EventLoopInternal.h"
  74. #include "native/juce_linux_Messaging.cpp"
  75. #elif JUCE_ANDROID
  76. #include "native/juce_android_Messaging.cpp"
  77. #endif