mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-17 00:44:19 +00:00
Collected all the platform-specific code from the different build folders into a new folder in src/native. Also removed support for OSX10.2
This commit is contained in:
parent
f5a3fb0fb3
commit
ea83c7ee5e
88 changed files with 930 additions and 1349 deletions
114
src/native/juce_linux_NativeCode.cpp
Normal file
114
src/native/juce_linux_NativeCode.cpp
Normal file
|
|
@ -0,0 +1,114 @@
|
|||
/*
|
||||
==============================================================================
|
||||
|
||||
This file is part of the JUCE library - "Jules' Utility Class Extensions"
|
||||
Copyright 2004-9 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 mac-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 "linux/juce_linux_NativeIncludes.h"
|
||||
|
||||
|
||||
BEGIN_JUCE_NAMESPACE
|
||||
|
||||
#include "../juce_core/io/files/juce_FileInputStream.h"
|
||||
#include "../juce_core/io/files/juce_FileOutputStream.h"
|
||||
#include "../juce_core/basics/juce_SystemStats.h"
|
||||
#include "../juce_core/basics/juce_Time.h"
|
||||
#include "../juce_core/basics/juce_Random.h"
|
||||
#include "../juce_core/io/network/juce_URL.h"
|
||||
#include "../juce_core/io/files/juce_NamedPipe.h"
|
||||
#include "../juce_core/threads/juce_InterProcessLock.h"
|
||||
#include "../juce_appframework/audio/devices/juce_AudioIODeviceType.h"
|
||||
#include "../juce_core/threads/juce_Thread.h"
|
||||
#include "../juce_core/threads/juce_ScopedLock.h"
|
||||
#include "../juce_core/io/files/juce_File.h"
|
||||
#include "../juce_core/basics/juce_Singleton.h"
|
||||
#include "../juce_appframework/audio/dsp/juce_AudioDataConverters.h"
|
||||
#include "../juce_appframework/audio/audio_file_formats/juce_AudioCDReader.h"
|
||||
#include "../juce_appframework/gui/graphics/fonts/juce_Font.h"
|
||||
#include "../juce_core/io/streams/juce_MemoryInputStream.h"
|
||||
#include "../juce_core/io/files/juce_DirectoryIterator.h"
|
||||
#include "../juce_core/text/juce_XmlDocument.h"
|
||||
#include "../juce_appframework/application/juce_DeletedAtShutdown.h"
|
||||
#include "../juce_appframework/events/juce_MessageManager.h"
|
||||
#include "../juce_core/threads/juce_WaitableEvent.h"
|
||||
#include "../juce_core/threads/juce_Process.h"
|
||||
#include "../juce_appframework/gui/components/filebrowser/juce_FileChooser.h"
|
||||
#include "../juce_appframework/audio/devices/juce_MidiOutput.h"
|
||||
#include "../juce_appframework/audio/devices/juce_MidiInput.h"
|
||||
#include "../juce_core/text/juce_StringArray.h"
|
||||
#include "../juce_core/containers/juce_MemoryBlock.h"
|
||||
#include "../juce_core/misc/juce_PlatformUtilities.h"
|
||||
#include "../juce_core/threads/juce_CriticalSection.h"
|
||||
#include "../juce_appframework/events/juce_Timer.h"
|
||||
#include "../juce_appframework/gui/components/special/juce_WebBrowserComponent.h"
|
||||
#include "../juce_appframework/gui/components/keyboard/juce_KeyPress.h"
|
||||
#include "../juce_appframework/application/juce_SystemClipboard.h"
|
||||
#include "../juce_appframework/gui/components/windows/juce_AlertWindow.h"
|
||||
#include "../juce_appframework/gui/components/special/juce_OpenGLComponent.h"
|
||||
#include "../juce_appframework/gui/components/juce_Desktop.h"
|
||||
#include "../juce_appframework/gui/components/juce_ComponentDeletionWatcher.h"
|
||||
#include "../juce_appframework/gui/graphics/geometry/juce_RectangleList.h"
|
||||
#include "../juce_appframework/gui/graphics/imaging/juce_ImageFileFormat.h"
|
||||
#include "../juce_appframework/gui/graphics/contexts/juce_LowLevelGraphicsSoftwareRenderer.h"
|
||||
#include "../juce_appframework/gui/components/mouse/juce_DragAndDropContainer.h"
|
||||
#include "../juce_appframework/gui/components/special/juce_SystemTrayIconComponent.h"
|
||||
#include "../juce_appframework/application/juce_Application.h"
|
||||
|
||||
/* Remove this macro if you're having problems compiling the cpu affinity
|
||||
calls (the API for these has changed about quite a bit in various Linux
|
||||
versions, and a lot of distros seem to ship with obsolete versions)
|
||||
*/
|
||||
#if defined (CPU_ISSET) && ! defined (SUPPORT_AFFINITIES)
|
||||
#define SUPPORT_AFFINITIES 1
|
||||
#endif
|
||||
|
||||
//==============================================================================
|
||||
#define JUCE_INCLUDED_FILE 1
|
||||
|
||||
// Now include the actual code files..
|
||||
|
||||
#include "common/juce_posix_SharedCode.h"
|
||||
#include "linux/juce_linux_Files.cpp"
|
||||
#include "common/juce_posix_NamedPipe.cpp"
|
||||
#include "linux/juce_linux_Network.cpp"
|
||||
#include "linux/juce_linux_SystemStats.cpp"
|
||||
#include "linux/juce_linux_Threads.cpp"
|
||||
|
||||
#if ! JUCE_ONLY_BUILD_CORE_LIBRARY
|
||||
#include "linux/juce_linux_Messaging.cpp"
|
||||
#include "linux/juce_linux_Fonts.cpp"
|
||||
#include "linux/juce_linux_Windowing.cpp"
|
||||
#include "linux/juce_linux_Audio.cpp"
|
||||
#include "linux/juce_linux_Midi.cpp"
|
||||
#include "linux/juce_linux_AudioCDReader.cpp"
|
||||
#include "linux/juce_linux_FileChooser.cpp"
|
||||
#include "linux/juce_linux_WebBrowserComponent.cpp"
|
||||
#endif
|
||||
|
||||
END_JUCE_NAMESPACE
|
||||
Loading…
Add table
Add a link
Reference in a new issue