/* ============================================================================== This file is part of the JUCE library - "Jules' Utility Class Extensions" Copyright 2004-7 by Raw Material Software ltd. ------------------------------------------------------------------------------ JUCE can be redistributed and/or modified under the terms of the GNU General Public License, as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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. You should have received a copy of the GNU General Public License along with JUCE; if not, visit www.gnu.org/licenses or write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ------------------------------------------------------------------------------ If you'd like to release a closed-source product which uses JUCE, commercial licenses are also available: visit www.rawmaterialsoftware.com/juce for more information. ============================================================================== */ //============================================================================== #ifndef __JUCE_WIN32_NATIVEINCLUDES_JUCEHEADER__ #define __JUCE_WIN32_NATIVEINCLUDES_JUCEHEADER__ #include "../../../juce_Config.h" #ifndef STRICT #define STRICT 1 #endif #undef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN 1 #ifdef _MSC_VER #pragma warning (push) #pragma warning (disable : 4100 4201 4514 4312) #endif #define _WIN32_WINNT 0x0500 #define _UNICODE 1 #define UNICODE 1 #ifndef _WIN32_IE #define _WIN32_IE 0x0400 #endif #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #if JUCE_OPENGL #include #endif #undef PACKED //============================================================================== #if JUCE_ASIO /* This is very frustrating - we only need to use a handful of definitions from a couple of the header files in Steinberg's ASIO SDK, and it'd be easy to copy about 30 lines of code into this cpp file to create a fully stand-alone ASIO implementation... ..unfortunately that would break Steinberg's license agreement for use of their SDK, so I'm not allowed to do this. This means that anyone who wants to use JUCE's ASIO abilities will have to: 1) Agree to Steinberg's licensing terms and download the ASIO SDK (see www.steinberg.net/Steinberg/Developers.asp). 2) Rebuild the whole of JUCE, setting the global definition JUCE_ASIO (you can un-comment the "#define JUCE_ASIO" line in juce_Config.h if you prefer). Make sure that your header search path will find the iasiodrv.h file that comes with the SDK. (Only about 2-3 of the SDK header files are actually needed - so to simplify things, you could just copy these into your JUCE directory). If you're compiling and you get an error here because you don't have the ASIO SDK installed, you can disable ASIO support by commenting-out the "#define JUCE_ASIO" line in juce_Config.h, and rebuild your Juce library. */ #include "iasiodrv.h" #endif //============================================================================== #if JUCE_USE_CDBURNER /* You'll need the Platform SDK for these headers - if you don't have it and don't need to use CD-burning, then you might just want to disable the JUCE_USE_CDBURNER flag in juce_Config.h to avoid these includes. */ #include #include #endif //============================================================================== #if JUCE_QUICKTIME /* If you've got an include error here, you probably need to install the QuickTime SDK and add its header directory to your include path. Alternatively, if you don't need any QuickTime services, just turn off the JUCE_QUICKTIME flag in juce_Config.h */ #include #include #include #include #include /* If you've got QuickTime 7 installed, then these COM objects should be found in the "\Program Files\Quicktime" directory. You'll need to add this directory to your include search path to make these import statements work. */ #import #import #endif //============================================================================== #ifdef _MSC_VER #pragma warning (pop) #endif #endif // __JUCE_WIN32_NATIVEINCLUDES_JUCEHEADER__