Some more #include -> #import replacement.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30036 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2010-03-25 21:30:28 +00:00
parent 717ed845d0
commit 53381f6992
29 changed files with 203 additions and 157 deletions

View file

@ -31,12 +31,13 @@
#define __GNUstep_H_NSHelpManager
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSBundle.h>
#include <Foundation/NSGeometry.h>
#include <Foundation/NSMapTable.h>
#include <AppKit/NSApplication.h>
#import <Foundation/NSBundle.h>
#import <Foundation/NSGeometry.h>
#import <AppKit/NSApplication.h>
@class NSAttributedString;
@class NSString;
@class NSMapTable;
@interface NSBundle (NSHelpManager)
- (NSString *)pathForHelpResource:(NSString *)fileName;

View file

@ -31,10 +31,10 @@
#define _GNUstep_H_NSHelpPanel
#import <GNUstepBase/GSVersionMacros.h>
#if OS_API_VERSION(GS_API_OPENSTEP,GS_API_MACOSX) || GS_API_VERSION(GS_API_NONE, GS_API_LATEST)
#if OS_API_VERSION(GS_API_OPENSTEP,GS_API_MACOSX) || GS_API_VERSION(GS_API_NONE, GS_API_LATEST)
#include <AppKit/NSApplication.h>
#include <AppKit/NSPanel.h>
#import <AppKit/NSApplication.h>
#import <AppKit/NSPanel.h>
@class NSString;
@ -82,12 +82,6 @@
//
- (void) print: (id)sender;
//
// NSCoding protocol
//
- (void) encodeWithCoder: (NSCoder *)aCoder;
- (id) initWithCoder: (NSCoder *)aDecoder;
@end
#endif // !GS_API_MACOSX

View file

@ -31,9 +31,9 @@
#define _GNUstep_H_NSImage
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSGraphicsContext.h>
#include <Foundation/NSBundle.h>
#include <AppKit/NSBitmapImageRep.h>
#import <AppKit/NSGraphicsContext.h>
#import <Foundation/NSBundle.h>
#import <AppKit/NSBitmapImageRep.h>
@class NSString;
@class NSMutableArray;

View file

@ -31,7 +31,7 @@
#define _GNUstep_H_NSImageCell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSCell.h>
#import <AppKit/NSCell.h>
/**
* <p>Enumeration of the ways that you can display an image in an

View file

@ -31,8 +31,9 @@
#define _GNUstep_H_NSImageRep
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSGeometry.h>
#include <AppKit/AppKitDefines.h>
#import <Foundation/NSGeometry.h>
#import <Foundation/NSObject.h>
#import <AppKit/AppKitDefines.h>
@class NSString;
@class NSArray;

View file

@ -29,12 +29,12 @@
#define _GNUstep_H_NSInputManager
#import <GNUstepBase/GSVersionMacros.h>
#include <objc/Protocol.h>
#include <objc/objc.h>
#include <Foundation/NSGeometry.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSAttributedString.h>
#import <Foundation/NSGeometry.h>
#import <Foundation/NSObject.h>
@class NSArray;
@class NSAttributedString;
@class NSMutableArray;
@class NSInputServer;
@class NSEvent;
@class NSImage;

View file

@ -29,9 +29,10 @@
#define _GNUstep_H_NSInputServer
#import <GNUstepBase/GSVersionMacros.h>
#include <objc/Protocol.h>
#include <Foundation/NSGeometry.h>
#include <Foundation/NSString.h>
#import <Foundation/NSGeometry.h>
#import <Foundation/NSObject.h>
@class NSString;
@protocol NSInputServerMouseTracker
- (BOOL) mouseDownOnCharacterIndex: (unsigned)index

View file

@ -31,7 +31,7 @@
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <AppKit/AppKitDefines.h>
#import <AppKit/AppKitDefines.h>
@class NSResponder;
@class NSString;

View file

@ -30,8 +30,8 @@
#define _GNUstep_H_NSKeyValueBinding
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <AppKit/AppKitDefines.h>
#import <Foundation/NSObject.h>
#import <AppKit/AppKitDefines.h>
#if OS_API_VERSION(MAC_OS_X_VERSION_10_3, GS_API_LATEST)

View file

@ -29,8 +29,9 @@
#define _GNUstep_H_NSLayoutManager
#import <GNUstepBase/GSVersionMacros.h>
#include <GNUstepGUI/GSLayoutManager.h>
#include <AppKit/NSTextView.h>
#import <Foundation/NSGeometry.h>
#import <GNUstepGUI/GSLayoutManager.h>
#import <AppKit/NSTextView.h>
@class NSParagraphStyle;

View file

@ -30,9 +30,9 @@
#ifndef _GNUstep_H_NSLevelIndicator
#define _GNUstep_H_NSLevelIndicator
#include "AppKit/NSControl.h"
#import "AppKit/NSControl.h"
// For the tick mark
#include "AppKit/NSLevelIndicatorCell.h"
#import "AppKit/NSLevelIndicatorCell.h"
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)

View file

@ -30,9 +30,9 @@
#ifndef _GNUstep_H_NSLevelIndicatorCell
#define _GNUstep_H_NSLevelIndicatorCell
#include "AppKit/NSActionCell.h"
#import "AppKit/NSActionCell.h"
// For the tick mark
#include "AppKit/NSSliderCell.h"
#import "AppKit/NSSliderCell.h"
#if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)

View file

@ -31,7 +31,7 @@
#define _GNUstep_H_NSMatrix
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSControl.h>
#import <AppKit/NSControl.h>
@class NSArray;
@class NSMutableArray;

View file

@ -30,11 +30,11 @@
#define _GNUstep_H_NSMenu
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSGeometry.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
#include <AppKit/NSMenuItem.h>
#include <AppKit/AppKitDefines.h>
#import <AppKit/NSMenuItem.h>
#import <AppKit/AppKitDefines.h>
@class NSString;
@class NSEvent;

View file

@ -34,8 +34,8 @@
#define _GNUstep_H_NSMenuItem
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <AppKit/NSUserInterfaceValidation.h>
#import <Foundation/NSObject.h>
#import <AppKit/NSUserInterfaceValidation.h>
@class NSAttributedString;
@class NSString;

View file

@ -29,8 +29,8 @@
#define _GNUstep_H_NSMenuItemCell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSButtonCell.h>
#include <AppKit/NSMenuItem.h>
#import <AppKit/NSButtonCell.h>
#import <AppKit/NSMenuItem.h>
@class NSMenuView;

View file

@ -29,23 +29,23 @@
#define _GNUstep_H_NSMenuView
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSException.h>
#include <Foundation/NSProcessInfo.h>
#include <Foundation/NSString.h>
#include <Foundation/NSNotification.h>
#include <AppKit/NSMenu.h>
#include <AppKit/NSMenuItem.h>
#include <AppKit/NSMenuItemCell.h>
#include <AppKit/NSScreen.h>
#include <AppKit/NSView.h>
#include <AppKit/NSWindow.h>
#import <AppKit/NSMenu.h>
#import <AppKit/NSMenuItem.h>
//#import <AppKit/NSMenuItemCell.h>
#import <AppKit/NSView.h>
@class NSArray;
@class NSMutableArray;
@class NSNotification;
@class NSString;
@class NSColor;
@class NSMenuItemCell;
@class NSPopUpButton;
@class NSEvent;
@class NSFont;
@class NSScreen;
@class NSWindow;
/**
The NSMenu class uses an object implementing the NSMenuView protocol to

View file

@ -30,7 +30,7 @@
#define _GNUstep_H_NSMovie
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
@class NSArray;
@class NSData;

View file

@ -30,7 +30,7 @@
#define _GNUstep_H_NSMovieView
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSView.h>
#import <AppKit/NSView.h>
@class NSMovie;