EOModeler/*.[h,m]: Fix includes for OS X.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@26509 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2008-05-09 20:32:12 +00:00
parent 2d624f0ec5
commit e25743246b
12 changed files with 85 additions and 1 deletions

View file

@ -1,6 +1,7 @@
2008-05-09 Blake Nicholson <blaken@umich.edu>
* DBModeler/*.[h,m]: Fix includes for OS X.
* EOModeler/*.[h,m]: Fix includes for OS X.
2008-05-03 Matt Rice <ratmice@gmail.com>

View file

@ -26,8 +26,17 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef NeXT_GUI_LIBRARY
#include <AppKit/AppKit.h>
#else
#include <AppKit/NSNibDeclarations.h>
#endif
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSObject.h>
#endif
@class NSArray;
@class NSWindow;

View file

@ -26,11 +26,21 @@
**/
#include <AppKit/AppKit.h>
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSArray.h>
#endif
#include "EOModeler/EOMInspector.h"
#include "EOModeler/EOMInspectorController.h"
#include "EOModeler/EOModelerApp.h"
#include "EOModeler/EOModelerEditor.h"
#include <Foundation/NSArray.h>
#include <GNUstepBase/GNUstep.h>
#include <GNUstepBase/GSObjCRuntime.h>
static NSMapTable *_inspectorsByClass;

View file

@ -26,7 +26,11 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSObject.h>
#endif
@class NSWindow;
@class NSScrollView;

View file

@ -30,15 +30,24 @@
#include <EOModeler/EOMInspectorController.h>
#include <EOModeler/EOModelerEditor.h>
#ifdef NeXT_GUI_LIBRARY
#include <AppKit/AppKit.h>
#else
#include <AppKit/NSBox.h>
#include <AppKit/NSButtonCell.h>
#include <AppKit/NSMatrix.h>
#include <AppKit/NSScrollView.h>
#include <AppKit/NSPanel.h>
#include <AppKit/NSView.h>
#endif
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSNotification.h>
#include <Foundation/NSException.h>
#include <Foundation/NSArray.h>
#endif
static EOMInspectorController *_sharedInspectorController;

View file

@ -31,13 +31,21 @@
#include <GNUstepBase/GSCategories.h>
#endif
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSDictionary.h>
#include <Foundation/NSEnumerator.h>
#include <Foundation/NSScanner.h>
#include <Foundation/NSString.h>
#endif
#ifdef NeXT_GUI_LIBRARY
#include <AppKit/AppKit.h>
#else
#include <AppKit/NSFont.h>
#include <AppKit/NSAttributedString.h>
#endif
#include <EOControl/EODebug.h>

View file

@ -26,7 +26,12 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef NeXT_GUI_LIBRARY
#include <AppKit/AppKit.h>
#else
#include <AppKit/NSApplication.h>
#endif
#include <EOModeler/EODefines.h>
@class EOModelerApp;

View file

@ -25,8 +25,12 @@
</license>
**/
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSArray.h>
#include <Foundation/NSDictionary.h>
#endif
#include <EOAccess/EOModel.h>
#include <EOAccess/EOModelGroup.h>
@ -35,6 +39,8 @@
#include "EOModeler/EOModelerApp.h"
#include "EOModeler/EOModelerDocument.h"
#include <GNUstepBase/GNUstep.h>
EOModelerApp *EOMApp;
NSString *EOMSelectionChangedNotification = @"EOModelerSelectionChanged";
NSString *EOMPropertyPboardType = @"EOModelProperty";

View file

@ -26,8 +26,14 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSObject.h>
#endif
#include <EOModeler/EODefines.h>
@class EOModel;
@class NSMutableArray;
@class NSDictionary;

View file

@ -30,8 +30,12 @@
#include "EOModeler/EOModelerEditor.h"
#include "EOModeler/EOModelerApp.h"
#ifdef NeXT_GUI_LIBRARY
#include <AppKit/AppKit.h>
#else
#include <AppKit/NSMenuItem.h>
#include <AppKit/NSOpenPanel.h>
#endif
#include <EOInterface/EODisplayGroup.h>
@ -44,6 +48,9 @@
#include <EOControl/EOEditingContext.h>
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSAttributedString.h>
#include <Foundation/NSCharacterSet.h>
#include <Foundation/NSException.h>
@ -51,6 +58,9 @@
#include <Foundation/NSUndoManager.h>
#include <Foundation/NSUserDefaults.h>
#include <Foundation/NSValue.h>
#endif
#include <GNUstepBase/GNUstep.h>
@interface ConsistencyResults : NSObject
+ (id) sharedConsistencyPanel;

View file

@ -26,7 +26,12 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSObject.h>
#include <Foundation/NSArray.h>
#endif
@class EOModelerDocument;
@class EOModelerEmbedibleEditor;

View file

@ -32,13 +32,24 @@
#include <EOControl/EOObserver.h>
#ifdef NeXT_GUI_LIBRARY
#include <AppKit/AppKit.h>
#else
#include <AppKit/NSView.h>
#endif
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
#else
#include <Foundation/NSArray.h>
#include <Foundation/NSException.h>
#include <Foundation/NSNotification.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSRunLoop.h>
#endif
#include <GNUstepBase/GNUstep.h>
#include <GNUstepBase/GSCategories.h>
@implementation EOModelerEditor
- (void) dealloc