Added missing Cocoa methods and a Cocoa header file.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19269 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-05-08 13:40:40 +00:00
parent c35f6f8821
commit 6b78af5ade
4 changed files with 249 additions and 11 deletions

45
Headers/Cocoa/Cocoa.h Normal file
View file

@ -0,0 +1,45 @@
/*
Cocoa.h
Cocoa compatible declarations. Not to be used in normal GNUstep code.
Copyright (C) 2004 Free Software Foundation, Inc.
Author: Fred Kiefer <fredkiefer@gmx.de>
Date: 2004
This file is part of the GNUstep GUI Library.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation,
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
#ifndef _GNUstep_H_COCOA
#define _GNUstep_H_COCOA
#include <Foundation/Foundation.h>
#include <AppKit/AppKit.h>
#ifndef M_PI
#define M_PI 3.1415926535897932384626433
#endif
#if (!defined(__cplusplus) && !defined(__USE_ISOC99))
typedef BOOL bool;
#define false NO
#define true YES
#endif
#endif /* _GNUstep_H_COCOA */