macintosh_carbon_safe.hpp
Go to the documentation of this file.
00001 /* 00002 Copyright 2005-2007 Adobe Systems Incorporated 00003 Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt 00004 or a copy at http://stlab.adobe.com/licenses.html) 00005 */ 00006 00007 /****************************************************************************************************/ 00008 00009 #ifndef ADOBE_MACINTOSH_CARBON_SAFE_INCLUDE_HPP 00010 #define ADOBE_MACINTOSH_CARBON_SAFE_INCLUDE_HPP 00011 00012 /****************************************************************************************************/ 00013 00014 #ifdef __MWERKS__ 00015 #pragma warn_implicitconv off 00016 #endif 00017 00018 #include <Carbon/Carbon.h> 00019 #include <AudioToolbox/AudioServices.h> 00020 00021 #ifdef __MWERKS__ 00022 #pragma warn_implicitconv reset 00023 #endif 00024 00025 /* 00026 REVISIT (sparent) : Apple insists that you include the entire Carbon/Carbon.h framework to 00027 use any of Carbon. This header file #defines check which conflicts with boost. The work- 00028 around is to undef check here. 00029 00030 (In an unbelieveable set of circumstances, I wrote the check macro!) 00031 */ 00032 00033 #ifdef check 00034 #undef check 00035 #endif 00036 00037 /****************************************************************************************************/ 00038 00039 #endif 00040 00041 /****************************************************************************************************/ |