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:
fredkiefer 2010-03-25 21:30:28 +00:00
parent a82a10471f
commit c06bffe250
29 changed files with 203 additions and 157 deletions

View file

@ -1,3 +1,34 @@
2010-03-25 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSImageCell.h
* Headers/AppKit/NSLevelIndicator.h
* Headers/AppKit/NSMatrix.h
* Headers/AppKit/NSMenu.h
* Headers/AppKit/NSLayoutManager.h
* Headers/AppKit/NSInputServer.h
* Headers/AppKit/NSImageRep.h
* Headers/AppKit/NSMovieView.h
* Headers/AppKit/NSMovie.h
* Headers/AppKit/NSHelpManager.h
* Headers/AppKit/NSMenuItemCell.h
* Headers/AppKit/NSInterfaceStyle.h
* Headers/AppKit/NSMenuItem.h
* Headers/AppKit/NSInputManager.h
* Headers/AppKit/NSLevelIndicatorCell.h
* Headers/AppKit/NSMenuView.h
* Headers/AppKit/NSHelpPanel.h
* Headers/AppKit/NSImage.h
* Headers/AppKit/NSKeyValueBinding.h
* Source/NSPopUpButtonCell.m
* Source/GSWindowDecorationView.m
* Source/NSPopUpButton.m
* Source/NSHelpManager.m
* Source/NSToolbar.m
* Source/GSToolbarCustomizationPalette.m
* Source/GSTitleView.m
* Source/NSMenuView.m
* Source/NSCell.m: Some more #include -> #import replacement.
2010-03-25 Fred Kiefer <FredKiefer@gmx.de> 2010-03-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSNibLoading.m * Source/GSNibLoading.m

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -30,9 +30,9 @@
#ifndef _GNUstep_H_NSLevelIndicator #ifndef _GNUstep_H_NSLevelIndicator
#define _GNUstep_H_NSLevelIndicator #define _GNUstep_H_NSLevelIndicator
#include "AppKit/NSControl.h" #import "AppKit/NSControl.h"
// For the tick mark // 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) #if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)

View file

@ -30,9 +30,9 @@
#ifndef _GNUstep_H_NSLevelIndicatorCell #ifndef _GNUstep_H_NSLevelIndicatorCell
#define _GNUstep_H_NSLevelIndicatorCell #define _GNUstep_H_NSLevelIndicatorCell
#include "AppKit/NSActionCell.h" #import "AppKit/NSActionCell.h"
// For the tick mark // 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) #if OS_API_VERSION(MAC_OS_X_VERSION_10_4, GS_API_LATEST)

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -24,22 +24,25 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include <Foundation/NSDebug.h> #import <Foundation/NSDebug.h>
#include <Foundation/NSRunLoop.h> #import <Foundation/NSNotification.h>
#import <Foundation/NSRunLoop.h>
#include <AppKit/NSApplication.h> #import "AppKit/NSApplication.h"
#include "AppKit/NSAttributedString.h" #import "AppKit/NSAttributedString.h"
#include <AppKit/NSButton.h> #import "AppKit/NSButton.h"
#include <AppKit/NSEvent.h> #import "AppKit/NSColor.h"
#include <AppKit/NSImage.h> #import "AppKit/NSEvent.h"
#include <AppKit/NSMenu.h> #import "AppKit/NSGraphics.h"
#include <AppKit/NSMenuView.h> #import "AppKit/NSImage.h"
#include <AppKit/NSPanel.h> #import "AppKit/NSMenu.h"
#include <AppKit/NSView.h> #import "AppKit/NSMenuView.h"
#include <AppKit/NSWindow.h> #import "AppKit/NSPanel.h"
#import "AppKit/NSView.h"
#import "AppKit/NSWindow.h"
#include <GNUstepGUI/GSTitleView.h> #import "GNUstepGUI/GSTitleView.h"
#include "GNUstepGUI/GSTheme.h" #import "GNUstepGUI/GSTheme.h"
@implementation GSTitleView @implementation GSTitleView

View file

@ -26,17 +26,18 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
#include <Foundation/NSArray.h> #import <Foundation/NSArray.h>
#include <Foundation/NSDebug.h> #import <Foundation/NSDebug.h>
#include <Foundation/NSDictionary.h> #import <Foundation/NSDictionary.h>
#include <Foundation/NSEnumerator.h> #import <Foundation/NSEnumerator.h>
#include "AppKit/NSNibLoading.h" #import <Foundation/NSNotification.h>
#include "AppKit/NSWindow.h" #import "AppKit/NSNibLoading.h"
#include "AppKit/NSToolbar.h" #import "AppKit/NSWindow.h"
#include "AppKit/NSToolbarItem.h" #import "AppKit/NSToolbar.h"
#include "AppKit/NSPopUpButton.h" #import "AppKit/NSToolbarItem.h"
#include "NSToolbarFrameworkPrivate.h" #import "AppKit/NSPopUpButton.h"
#include "GSToolbarCustomizationPalette.h" #import "NSToolbarFrameworkPrivate.h"
#import "GSToolbarCustomizationPalette.h"
#define DEBUG_LEVEL @"Toolbar" #define DEBUG_LEVEL @"Toolbar"

View file

@ -24,18 +24,18 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include <GNUstepGUI/GSWindowDecorationView.h> #import <Foundation/NSEnumerator.h>
#import <Foundation/NSException.h>
#include <Foundation/NSEnumerator.h> #import <GNUstepGUI/GSWindowDecorationView.h>
#include <Foundation/NSException.h> #import "AppKit/NSColor.h"
#import "AppKit/NSGraphics.h"
#import "AppKit/NSMenuView.h"
#import "AppKit/NSWindow.h"
#import "GNUstepGUI/GSDisplayServer.h"
#import "GNUstepGUI/GSTheme.h"
#include "AppKit/NSColor.h" #import "NSToolbarFrameworkPrivate.h"
#include "AppKit/NSMenuView.h"
#include "AppKit/NSWindow.h"
#include "GNUstepGUI/GSDisplayServer.h"
#include "GNUstepGUI/GSTheme.h"
#include "NSToolbarFrameworkPrivate.h"
@implementation GSWindowDecorationView @implementation GSWindowDecorationView

View file

@ -1432,7 +1432,7 @@ static NSColor *dtxtCol;
{ {
SEL action = [self action]; SEL action = [self action];
if ([sender respondsTo: @selector(sendAction:to:)]) if ([sender respondsToSelector: @selector(sendAction:to:)])
{ {
return [sender sendAction: action to: [self target]]; return [sender sendAction: action to: [self target]];
} }

View file

@ -27,28 +27,29 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include <Foundation/NSUserDefaults.h> #import <Foundation/NSArchiver.h>
#include <Foundation/NSData.h> #import <Foundation/NSBundle.h>
#include <Foundation/NSNotification.h> #import <Foundation/NSData.h>
#include <Foundation/NSFileManager.h> #import <Foundation/NSFileManager.h>
#include <Foundation/NSString.h> #import <Foundation/NSMapTable.h>
#include <Foundation/NSBundle.h> #import <Foundation/NSNotification.h>
#include <Foundation/NSArchiver.h> #import <Foundation/NSString.h>
#include "AppKit/NSAttributedString.h" #import <Foundation/NSUserDefaults.h>
#include "AppKit/NSApplication.h" #import "AppKit/NSAttributedString.h"
#include "AppKit/NSWorkspace.h" #import "AppKit/NSApplication.h"
#include "AppKit/NSFileWrapper.h" #import "AppKit/NSWorkspace.h"
#include "AppKit/NSHelpManager.h" #import "AppKit/NSFileWrapper.h"
#include "AppKit/NSHelpPanel.h" #import "AppKit/NSHelpManager.h"
#include "AppKit/NSHelpPanel.h" #import "AppKit/NSHelpPanel.h"
#include "AppKit/NSCursor.h" #import "AppKit/NSHelpPanel.h"
#include "AppKit/NSImage.h" #import "AppKit/NSCursor.h"
#include "AppKit/NSGraphics.h" #import "AppKit/NSImage.h"
#include "AppKit/NSScrollView.h" #import "AppKit/NSGraphics.h"
#include "AppKit/NSTextView.h" #import "AppKit/NSScrollView.h"
#include "AppKit/NSTextStorage.h" #import "AppKit/NSTextView.h"
#import "AppKit/NSTextStorage.h"
#include "GNUstepGUI/GSHelpManagerPanel.h" #import "GNUstepGUI/GSHelpManagerPanel.h"
@implementation NSBundle (NSHelpManager) @implementation NSBundle (NSHelpManager)

View file

@ -28,24 +28,32 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include <Foundation/NSRunLoop.h> #import <Foundation/NSArray.h>
#include <Foundation/NSDebug.h> #import <Foundation/NSCoder.h>
#import <Foundation/NSDate.h>
#import <Foundation/NSDebug.h>
#import <Foundation/NSException.h>
#import <Foundation/NSNotification.h>
//#import <Foundation/NSProcessInfo.h>
#import <Foundation/NSRunLoop.h>
#import <Foundation/NSString.h>
#import <Foundation/NSValue.h>
#include "AppKit/NSApplication.h" #import "AppKit/NSApplication.h"
#include "AppKit/NSEvent.h" #import "AppKit/NSEvent.h"
#include "AppKit/NSFont.h" #import "AppKit/NSFont.h"
#include "AppKit/NSMenuView.h" #import "AppKit/NSImage.h"
#include "AppKit/NSMenu.h" #import "AppKit/NSMenuView.h"
#include "AppKit/NSButton.h" #import "AppKit/NSMenu.h"
#include "AppKit/NSPopUpButtonCell.h" #import "AppKit/NSButton.h"
#include "AppKit/NSWindow.h" #import "AppKit/NSPopUpButtonCell.h"
#include "AppKit/PSOperators.h" #import "AppKit/NSScreen.h"
#include "AppKit/NSImage.h" #import "AppKit/NSWindow.h"
#import "AppKit/PSOperators.h"
#include "GNUstepGUI/GSTheme.h" #import "GNUstepGUI/GSTheme.h"
#include "GNUstepGUI/GSTitleView.h" #import "GNUstepGUI/GSTitleView.h"
#include <Foundation/Foundation.h>
typedef struct _GSCellRect { typedef struct _GSCellRect {
NSRect rect; NSRect rect;
@ -60,7 +68,7 @@ typedef struct _GSCellRect {
#ifdef GSIArray #ifdef GSIArray
#undef GSIArray #undef GSIArray
#endif #endif
#include <GNUstepBase/GSIArray.h> #import <GNUstepBase/GSIArray.h>
static NSMapTable *viewInfo = 0; static NSMapTable *viewInfo = 0;

View file

@ -33,12 +33,14 @@
#import <Foundation/NSValue.h> #import <Foundation/NSValue.h>
#import "AppKit/NSApplication.h" #import "AppKit/NSApplication.h"
#import "AppKit/NSEvent.h" #import "AppKit/NSEvent.h"
#import "AppKit/NSGraphics.h"
#import "AppKit/NSKeyValueBinding.h" #import "AppKit/NSKeyValueBinding.h"
#import "AppKit/NSPopUpButton.h" #import "AppKit/NSPopUpButton.h"
#import "AppKit/NSPopUpButtonCell.h" #import "AppKit/NSPopUpButtonCell.h"
#import "AppKit/NSMenu.h" #import "AppKit/NSMenu.h"
#import "AppKit/NSMenuItem.h" #import "AppKit/NSMenuItem.h"
#import "AppKit/NSMenuView.h" #import "AppKit/NSMenuView.h"
#import "AppKit/NSWindow.h"
/* /*
* class variables * class variables

View file

@ -27,6 +27,7 @@
*/ */
#import "config.h" #import "config.h"
#import <Foundation/NSNotification.h>
#import <Foundation/NSValue.h> #import <Foundation/NSValue.h>
#import "AppKit/NSApplication.h" #import "AppKit/NSApplication.h"
#import "AppKit/NSEvent.h" #import "AppKit/NSEvent.h"

View file

@ -29,31 +29,32 @@
Boston, MA 02110-1301, USA. Boston, MA 02110-1301, USA.
*/ */
#include <Foundation/NSObject.h> #import <Foundation/NSObject.h>
#include <Foundation/NSArray.h> #import <Foundation/NSArray.h>
#include <Foundation/NSDictionary.h> #import <Foundation/NSDictionary.h>
#include <Foundation/NSEnumerator.h> #import <Foundation/NSEnumerator.h>
#include <Foundation/NSException.h> #import <Foundation/NSException.h>
#include <Foundation/NSKeyValueCoding.h> #import <Foundation/NSKeyValueCoding.h>
#include <Foundation/NSNotification.h> #import <Foundation/NSNotification.h>
#include <Foundation/NSNull.h> #import <Foundation/NSNull.h>
#include <Foundation/NSRunLoop.h> #import <Foundation/NSRunLoop.h>
#include <Foundation/NSString.h> #import <Foundation/NSString.h>
#include <Foundation/NSTimer.h> #import <Foundation/NSTimer.h>
#include <Foundation/NSUserDefaults.h> #import <Foundation/NSUserDefaults.h>
#include <Foundation/NSDecimalNumber.h> #import <Foundation/NSDecimalNumber.h>
#include "AppKit/NSApplication.h" #import "AppKit/NSApplication.h"
#include "AppKit/NSEvent.h" #import "AppKit/NSEvent.h"
#include "AppKit/NSMenu.h" #import "AppKit/NSGraphics.h"
#include "AppKit/NSNibLoading.h" #import "AppKit/NSMenu.h"
#include "AppKit/NSToolbar.h" #import "AppKit/NSNibLoading.h"
#include "AppKit/NSToolbarItem.h" #import "AppKit/NSToolbar.h"
#include "AppKit/NSView.h" #import "AppKit/NSToolbarItem.h"
#include "AppKit/NSWindow.h" #import "AppKit/NSView.h"
#include "GNUstepGUI/GSToolbarView.h" #import "AppKit/NSWindow.h"
#import "GNUstepGUI/GSToolbarView.h"
#include "NSToolbarFrameworkPrivate.h" #import "NSToolbarFrameworkPrivate.h"
#include "GSToolbarCustomizationPalette.h" #import "GSToolbarCustomizationPalette.h"
// internal // internal
static NSNotificationCenter *nc = nil; static NSNotificationCenter *nc = nil;