1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-13 00:04:19 +00:00
JUCE/src/native/juce_win32_NativeCode.cpp
2010-05-10 11:16:00 +01:00

124 lines
5.4 KiB
C++

/*
==============================================================================
This file is part of the JUCE library - "Jules' Utility Class Extensions"
Copyright 2004-10 by Raw Material Software Ltd.
------------------------------------------------------------------------------
JUCE can be redistributed and/or modified under the terms of the GNU General
Public License (Version 2), as published by the Free Software Foundation.
A copy of the license is included in the JUCE distribution, or can be found
online at www.gnu.org/licenses.
JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU General Public License for more details.
------------------------------------------------------------------------------
To release a closed-source product which uses JUCE, commercial licenses are
available: visit www.rawmaterialsoftware.com/juce for more information.
==============================================================================
*/
/*
This file wraps together all the win32-specific code, so that
we can include all the native headers just once, and compile all our
platform-specific stuff in one big lump, keeping it out of the way of
the rest of the codebase.
*/
#include "../core/juce_TargetPlatform.h"
#if JUCE_WINDOWS
#include "windows/juce_win32_NativeIncludes.h"
#include "../core/juce_StandardHeader.h"
BEGIN_JUCE_NAMESPACE
//==============================================================================
#include "../core/juce_Singleton.h"
#include "../core/juce_Random.h"
#include "../core/juce_SystemStats.h"
#include "../threads/juce_Process.h"
#include "../threads/juce_Thread.h"
#include "../threads/juce_InterProcessLock.h"
#include "../io/files/juce_FileInputStream.h"
#include "../io/files/juce_FileOutputStream.h"
#include "../io/files/juce_NamedPipe.h"
#include "../io/files/juce_DirectoryIterator.h"
#include "../io/network/juce_URL.h"
#include "../core/juce_PlatformUtilities.h"
#include "../text/juce_LocalisedStrings.h"
#include "../utilities/juce_DeletedAtShutdown.h"
#include "../application/juce_Application.h"
#include "../utilities/juce_SystemClipboard.h"
#include "../events/juce_MessageManager.h"
#include "../gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h"
#include "../gui/graphics/imaging/juce_ImageFileFormat.h"
#include "../gui/graphics/imaging/juce_CameraDevice.h"
#include "../gui/components/windows/juce_ComponentPeer.h"
#include "../gui/components/windows/juce_AlertWindow.h"
#include "../gui/components/juce_Desktop.h"
#include "../gui/components/menus/juce_MenuBarModel.h"
#include "../gui/components/special/juce_OpenGLComponent.h"
#include "../gui/components/special/juce_QuickTimeMovieComponent.h"
#include "../gui/components/mouse/juce_DragAndDropContainer.h"
#include "../gui/components/mouse/juce_MouseInputSource.h"
#include "../gui/components/keyboard/juce_KeyPressMappingSet.h"
#include "../gui/components/layout/juce_ComponentMovementWatcher.h"
#include "../gui/components/special/juce_ActiveXControlComponent.h"
#include "../gui/components/special/juce_WebBrowserComponent.h"
#include "../gui/components/special/juce_DropShadower.h"
#include "../gui/components/special/juce_SystemTrayIconComponent.h"
#include "../gui/components/filebrowser/juce_FileChooser.h"
#include "../gui/components/lookandfeel/juce_LookAndFeel.h"
#include "../audio/audio_file_formats/juce_AudioCDBurner.h"
#include "../audio/audio_file_formats/juce_AudioCDReader.h"
#include "../audio/audio_sources/juce_AudioSource.h"
#include "../audio/dsp/juce_AudioDataConverters.h"
#include "../audio/devices/juce_AudioIODeviceType.h"
#include "../audio/devices/juce_MidiOutput.h"
#include "../audio/devices/juce_MidiInput.h"
//==============================================================================
#define JUCE_INCLUDED_FILE 1
// Now include the actual code files..
#include "windows/juce_win32_DynamicLibraryLoader.cpp"
#include "windows/juce_win32_SystemStats.cpp"
#include "windows/juce_win32_Threads.cpp"
#include "windows/juce_win32_Files.cpp"
#include "windows/juce_win32_Network.cpp"
#include "windows/juce_win32_PlatformUtils.cpp"
#if ! JUCE_ONLY_BUILD_CORE_LIBRARY
#include "windows/juce_win32_Messaging.cpp"
#include "windows/juce_win32_Windowing.cpp"
#include "windows/juce_win32_Fonts.cpp"
#include "windows/juce_win32_FileChooser.cpp"
#include "windows/juce_win32_Misc.cpp"
#include "windows/juce_win32_ActiveXComponent.cpp"
#include "windows/juce_win32_QuickTimeMovieComponent.cpp"
#include "windows/juce_win32_WebBrowserComponent.cpp"
#include "windows/juce_win32_OpenGLComponent.cpp"
#include "windows/juce_win32_AudioCDReader.cpp"
#include "windows/juce_win32_Midi.cpp"
#include "windows/juce_win32_ASIO.cpp"
#include "windows/juce_win32_DirectSound.cpp"
#include "windows/juce_win32_WASAPI.cpp"
#include "windows/juce_win32_CameraDevice.cpp"
#endif
//==============================================================================
// Auto-link the other win32 libs that are needed by library calls..
#if (JUCE_AMALGAMATED_TEMPLATE || defined (JUCE_DLL_BUILD)) && JUCE_MSVC && ! DONT_AUTOLINK_TO_WIN32_LIBRARIES
#include "windows/juce_win32_AutoLinkLibraries.h"
#endif
END_JUCE_NAMESPACE
#endif