Back to index

texmacs  1.0.7.15
mac_cocoa.h
Go to the documentation of this file.
00001 
00002 /******************************************************************************
00003 * MODULE     : mac_cocoa.hpp
00004 * DESCRIPTION: Header for Mac UI
00005 * COPYRIGHT  : (C) 2006 Massimiliano Gubinelli
00006 *******************************************************************************
00007 * This software falls under the GNU general public license version 3 or later.
00008 * It comes WITHOUT ANY WARRANTY WHATSOEVER. For details, see the file LICENSE
00009 * in the root directory or <http://www.gnu.org/licenses/gpl-3.0.html>.
00010 ******************************************************************************/
00011 
00012 #ifndef MAC_COCOA_H
00013 #define MAC_COCOA_H
00014 
00015 // hacks to prevent symbol clash with Carbon and Cocoa headers
00016 #define ID COCOA_ID
00017 #define outline COCOA_outline
00018 #undef EVENT_H 
00019 #define extend CARBON_extends 
00020 
00021 
00022 #include <Cocoa/Cocoa.h>
00023 
00024 // end of hacks
00025 #define EVENT_H
00026 #undef ID
00027 #undef outline
00028 #undef extend
00029 
00030 #endif