juce_events.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library.
  4. Copyright (c) 2017 - ROLI Ltd.
  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. /*******************************************************************************
  18. The block below describes the properties of this module, and is read by
  19. the Projucer to automatically generate project code that uses it.
  20. For details about the syntax and how to create or use a module, see the
  21. JUCE Module Format.txt file.
  22. BEGIN_JUCE_MODULE_DECLARATION
  23. ID: juce_events
  24. vendor: juce
  25. version: 5.4.7
  26. name: JUCE message and event handling classes
  27. description: Classes for running an application's main event loop and sending/receiving messages, timers, etc.
  28. website: http://www.juce.com/juce
  29. license: ISC
  30. dependencies: juce_core
  31. END_JUCE_MODULE_DECLARATION
  32. *******************************************************************************/
  33. #pragma once
  34. #define JUCE_EVENTS_H_INCLUDED
  35. #include <juce_core/juce_core.h>
  36. //==============================================================================
  37. /** Config: JUCE_EXECUTE_APP_SUSPEND_ON_BACKGROUND_TASK
  38. Will execute your application's suspend method on an iOS background task, giving
  39. you extra time to save your applications state.
  40. */
  41. #ifndef JUCE_EXECUTE_APP_SUSPEND_ON_BACKGROUND_TASK
  42. #define JUCE_EXECUTE_APP_SUSPEND_ON_BACKGROUND_TASK 0
  43. #endif
  44. #if JUCE_EVENTS_INCLUDE_WINRT_WRAPPER && JUCE_WINDOWS
  45. // If this header file is missing then you are probably attempting to use WinRT
  46. // functionality without the WinRT libraries installed on your system. Try installing
  47. // the latest Windows Standalone SDK and maybe also adding the path to the WinRT
  48. // headers to your build system. This path should have the form
  49. // "C:\Program Files (x86)\Windows Kits\10\Include\10.0.14393.0\winrt".
  50. #include <inspectable.h>
  51. #include <hstring.h>
  52. #endif
  53. #include "messages/juce_MessageManager.h"
  54. #include "messages/juce_Message.h"
  55. #include "messages/juce_MessageListener.h"
  56. #include "messages/juce_CallbackMessage.h"
  57. #include "messages/juce_DeletedAtShutdown.h"
  58. #include "messages/juce_NotificationType.h"
  59. #include "messages/juce_ApplicationBase.h"
  60. #include "messages/juce_Initialisation.h"
  61. #include "messages/juce_MountedVolumeListChangeDetector.h"
  62. #include "broadcasters/juce_ActionBroadcaster.h"
  63. #include "broadcasters/juce_ActionListener.h"
  64. #include "broadcasters/juce_AsyncUpdater.h"
  65. #include "broadcasters/juce_ChangeListener.h"
  66. #include "broadcasters/juce_ChangeBroadcaster.h"
  67. #include "timers/juce_Timer.h"
  68. #include "timers/juce_MultiTimer.h"
  69. #include "interprocess/juce_InterprocessConnection.h"
  70. #include "interprocess/juce_InterprocessConnectionServer.h"
  71. #include "interprocess/juce_ConnectedChildProcess.h"
  72. #include "interprocess/juce_NetworkServiceDiscovery.h"
  73. #if JUCE_LINUX
  74. #include "native/juce_linux_EventLoop.h"
  75. #endif
  76. #if JUCE_WINDOWS
  77. #if JUCE_EVENTS_INCLUDE_WIN32_MESSAGE_WINDOW
  78. #include "native/juce_win32_HiddenMessageWindow.h"
  79. #endif
  80. #if JUCE_EVENTS_INCLUDE_WINRT_WRAPPER
  81. #include "native/juce_win32_WinRTWrapper.h"
  82. #endif
  83. #endif