1 /* 2 Cocoa.h 3 4 Cocoa compatible declarations. Not to be used in normal GNUstep code. 5 6 Copyright (C) 2004 Free Software Foundation, Inc. 7 8 Author: Fred Kiefer <fredkiefer@gmx.de> 9 Date: 2004 10 11 This file is part of the GNUstep GUI Library. 12 13 This library is free software; you can redistribute it and/or 14 modify it under the terms of the GNU Lesser General Public 15 License as published by the Free Software Foundation; either 16 version 2 of the License, or (at your option) any later version. 17 18 This library is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 21 Lesser General Public License for more details. 22 23 You should have received a copy of the GNU Lesser General Public 24 License along with this library; see the file COPYING.LIB. 25 If not, see <http://www.gnu.org/licenses/> or write to the 26 Free Software Foundation, 51 Franklin Street, Fifth Floor, 27 Boston, MA 02110-1301, USA. 28 */ 29 30 #ifndef _GNUstep_H_COCOA 31 #define _GNUstep_H_COCOA 32 33 #import <Foundation/Foundation.h> 34 #import <AppKit/AppKit.h> 35 36 #ifndef M_PI 37 #define M_PI 3.1415926535897932384626433 38 #endif 39 40 #if (!defined(__cplusplus) && !defined(__USE_ISOC99) && !defined(__bool_true_false_are_defined)) 41 typedef BOOL bool; 42 #define false NO 43 #define true YES 44 #endif 45 46 #endif /* _GNUstep_H_COCOA */ 47