OpenShot Audio Library | OpenShotAudio 0.3.2

Loading...
Searching...
No Matches
juce_events.cpp
1/*
2 ==============================================================================
3
4 This file is part of the JUCE library.
5 Copyright (c) 2017 - ROLI Ltd.
6
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
9
10 The code included in this file is provided under the terms of the ISC license
11 http://www.isc.org/downloads/software-support-policy/isc-license. Permission
12 To use, copy, modify, and/or distribute this software for any purpose with or
13 without fee is hereby granted provided that the above copyright notice and
14 this permission notice appear in all copies.
15
16 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
17 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
18 DISCLAIMED.
19
20 ==============================================================================
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
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_CORE_INCLUDE_COM_SMART_PTR 1
36#define JUCE_EVENTS_INCLUDE_WIN32_MESSAGE_WINDOW 1
37
38#if JUCE_USE_WINRT_MIDI
39 #define JUCE_EVENTS_INCLUDE_WINRT_WRAPPER 1
40#endif
41
42#include "juce_events.h"
43
44//==============================================================================
45#if JUCE_MAC
46 #import <IOKit/IOKitLib.h>
47 #import <IOKit/IOCFPlugIn.h>
48 #import <IOKit/hid/IOHIDLib.h>
49 #import <IOKit/hid/IOHIDKeys.h>
50 #import <IOKit/pwr_mgt/IOPMLib.h>
51
52#elif JUCE_LINUX
53 #include <unistd.h>
54#endif
55
56//==============================================================================
57#include "messages/juce_ApplicationBase.cpp"
58#include "messages/juce_DeletedAtShutdown.cpp"
59#include "messages/juce_MessageListener.cpp"
60#include "messages/juce_MessageManager.cpp"
61#include "broadcasters/juce_ActionBroadcaster.cpp"
62#include "broadcasters/juce_AsyncUpdater.cpp"
63#include "broadcasters/juce_ChangeBroadcaster.cpp"
64#include "timers/juce_MultiTimer.cpp"
65#include "timers/juce_Timer.cpp"
66#include "interprocess/juce_InterprocessConnection.cpp"
67#include "interprocess/juce_InterprocessConnectionServer.cpp"
68#include "interprocess/juce_ConnectedChildProcess.cpp"
69#include "interprocess/juce_NetworkServiceDiscovery.cpp"
70
71//==============================================================================
72#if JUCE_MAC || JUCE_IOS
73
74 #include "native/juce_osx_MessageQueue.h"
75
76 #if JUCE_CLANG
77 #pragma clang diagnostic push
78 #pragma clang diagnostic ignored "-Wundeclared-selector"
79 #endif
80
81 #if JUCE_MAC
82 #include "native/juce_mac_MessageManager.mm"
83 #else
84 #include "native/juce_ios_MessageManager.mm"
85 #endif
86
87 #if JUCE_CLANG
88 #pragma clang diagnostic pop
89 #endif
90
91#elif JUCE_WINDOWS
92 #include "native/juce_win32_Messaging.cpp"
93 #if JUCE_EVENTS_INCLUDE_WINRT_WRAPPER
94 #include "native/juce_win32_WinRTWrapper.cpp"
95 #endif
96
97#elif JUCE_LINUX
98 #include "native/juce_linux_Messaging.cpp"
99
100#elif JUCE_ANDROID
101 #include "native/juce_android_Messaging.cpp"
102
103#endif