documentation cleanups

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24035 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rfm 2006-11-06 13:58:37 +00:00
parent f111ea9e46
commit 30182a3f19
135 changed files with 810 additions and 402 deletions

141
ChangeLog
View file

@ -1,3 +1,144 @@
2006-11-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSDisplayServer.m: Improve documentation of window ordering
* Source/NSWindow.m: ditto
* Source/NSApplication.m: Fix minor bug with cleanup on termination
when the appicon was suppressed.
* Source/NSAttributedString.m:
* Source/NSClipView.m:
* Source/NSApplication.m:
* Source/NSImage.m:
* Headers/AppKit/NSSound.h:
* Headers/AppKit/NSTextAttachment.h:
* Headers/AppKit/NSPopUpButtonCell.h:
* Headers/AppKit/NSPanel.h:
* Headers/AppKit/NSTableHeaderCell.h:
* Headers/AppKit/NSSpellServer.h:
* Headers/AppKit/NSAlert.h:
* Headers/AppKit/NSColorList.h:
* Headers/AppKit/NSWindowController.h:
* Headers/AppKit/NSScreen.h:
* Headers/AppKit/NSOpenPanel.h:
* Headers/AppKit/NSSliderCell.h:
* Headers/AppKit/NSImageCell.h:
* Headers/AppKit/NSAffineTransform.h:
* Headers/AppKit/NSText.h:
* Headers/AppKit/AppKitDefines.h:
* Headers/AppKit/NSParagraphStyle.h:
* Headers/AppKit/NSBox.h:
* Headers/AppKit/AppKitExceptions.h:
* Headers/AppKit/NSTableHeaderView.h:
* Headers/AppKit/NSAttributedString.h:
* Headers/AppKit/NSWorkspace.h:
* Headers/AppKit/NSPopUpButton.h:
* Headers/AppKit/NSFontManager.h:
* Headers/AppKit/NSFormCell.h:
* Headers/AppKit/NSMenu.h:
* Headers/AppKit/NSMatrix.h:
* Headers/AppKit/NSWindow.h:
* Headers/AppKit/NSLayoutManager.h:
* Headers/AppKit/NSButtonCell.h:
* Headers/AppKit/NSColorPicker.h:
* Headers/AppKit/NSActionCell.h:
* Headers/AppKit/NSImageView.h:
* Headers/AppKit/NSOpenGLView.h:
* Headers/AppKit/NSDataLinkManager.h:
* Headers/AppKit/NSClipView.h:
* Headers/AppKit/NSSplitView.h:
* Headers/AppKit/NSBitmapImageRep.h:
* Headers/AppKit/NSInputServer.h:
* Headers/AppKit/NSTextFieldCell.h:
* Headers/AppKit/NSImageRep.h:
* Headers/AppKit/NSBezierPath.h:
* Headers/AppKit/NSGraphics.h:
* Headers/AppKit/NSResponder.h:
* Headers/AppKit/NSColorWell.h:
* Headers/AppKit/NSApplication.h:
* Headers/AppKit/NSForm.h:
* Headers/AppKit/NSWindow+Toolbar.h:
* Headers/AppKit/NSTableColumn.h:
* Headers/AppKit/NSNib.h:
* Headers/AppKit/NSComboBox.h:
* Headers/AppKit/NSMovieView.h:
* Headers/AppKit/NSButton.h:
* Headers/AppKit/NSSavePanel.h:
* Headers/AppKit/NSColor.h:
* Headers/AppKit/NSMovie.h:
* Headers/AppKit/NSCachedImageRep.h:
* Headers/AppKit/NSStepper.h:
* Headers/AppKit/NSPrinter.h:
* Headers/AppKit/NSHelpManager.h:
* Headers/AppKit/NSMenuItemCell.h:
* Headers/AppKit/NSPasteboard.h:
* Headers/AppKit/DPSOperators.h:
* Headers/AppKit/AppKit.h:
* Headers/AppKit/NSTextContainer.h:
* Headers/AppKit/NSNibDeclarations.h:
* Headers/AppKit/NSToolbar.h:
* Headers/AppKit/NSSearchFieldCell.h:
* Headers/AppKit/NSCursor.h:
* Headers/AppKit/NSPrintOperation.h:
* Headers/AppKit/NSControl.h:
* Headers/AppKit/NSInterfaceStyle.h:
* Headers/AppKit/NSMenuItem.h:
* Headers/AppKit/NSScroller.h:
* Headers/AppKit/NSDocumentFrameworkPrivate.h:
* Headers/AppKit/NSInputManager.h:
* Headers/AppKit/NSRulerMarker.h:
* Headers/AppKit/NSProgressIndicator.h:
* Headers/AppKit/NSGraphicsContext.h:
* Headers/AppKit/NSFont.h:
* Headers/AppKit/NSTextStorage.h:
* Headers/AppKit/NSSearchField.h:
* Headers/AppKit/NSOutlineView.h:
* Headers/AppKit/NSPageLayout.h:
* Headers/AppKit/NSTextView.h:
* Headers/AppKit/NSFileWrapper.h:
* Headers/AppKit/NSTabViewItem.h:
* Headers/AppKit/PSOperators.h:
* Headers/AppKit/NSDragging.h:
* Headers/AppKit/NSDocumentController.h:
* Headers/AppKit/NSColorPicking.h:
* Headers/AppKit/NSDrawer.h:
* Headers/AppKit/NSCustomImageRep.h:
* Headers/AppKit/NSRulerView.h:
* Headers/AppKit/NSMenuView.h:
* Headers/AppKit/NSSecureTextField.h:
* Headers/AppKit/NSNibLoading.h:
* Headers/AppKit/NSHelpPanel.h:
* Headers/AppKit/NSComboBoxCell.h:
* Headers/AppKit/NSToolbarItem.h:
* Headers/AppKit/NSImage.h:
* Headers/AppKit/NSSlider.h:
* Headers/AppKit/NSStepperCell.h:
* Headers/AppKit/NSStringDrawing.h:
* Headers/AppKit/NSOpenGL.h:
* Headers/AppKit/NSDataLink.h:
* Headers/AppKit/NSScrollView.h:
* Headers/AppKit/NSColorPanel.h:
* Headers/AppKit/NSEPSImageRep.h:
* Headers/AppKit/NSSpellProtocol.h:
* Headers/AppKit/NSTabView.h:
* Headers/AppKit/NSDataLinkPanel.h:
* Headers/AppKit/NSPrintInfo.h:
* Headers/AppKit/NSUserInterfaceValidation.h:
* Headers/AppKit/NSPrintPanel.h:
* Headers/AppKit/NSCell.h:
* Headers/AppKit/NSEvent.h:
* Headers/AppKit/NSTableView.h:
* Headers/AppKit/NSBrowserCell.h:
* Headers/AppKit/NSNibConnector.h:
* Headers/AppKit/NSSelection.h:
* Headers/AppKit/NSTextField.h:
* Headers/AppKit/NSSpellChecker.h:
* Headers/AppKit/NSView.h:
* Headers/AppKit/NSDocument.h:
* Headers/AppKit/NSBrowser.h:
* Headers/AppKit/NSFontPanel.h:
* Headers/Additions/GNUstepGUI/GSTable.h:
Update to use current version macros and fix a few documentation
errors.
2006-11-06 Matt Rice <ratmice@yahoo.com> 2006-11-06 Matt Rice <ratmice@yahoo.com>
* Source/NSTextView_actions.m: Implement some undocumented key binding * Source/NSTextView_actions.m: Implement some undocumented key binding

View file

@ -140,7 +140,7 @@
prisoners, which are subviews of the jails; the resizing is transmitted prisoners, which are subviews of the jails; the resizing is transmitted
through the usual autoresizing machinery, because the jails always have through the usual autoresizing machinery, because the jails always have
autoresizing of subviews turned on. This works because if a prisoner autoresizing of subviews turned on. This works because if a prisoner
sends to its superview a -frame message, the frame of the jail sends to its superview an [NSView-frame] message, the frame of the jail
(and <em>not</em> the frame of the GSTable) is returned, so that (and <em>not</em> the frame of the GSTable) is returned, so that
each prisoner will autoresize itself in its jail frame. Moreover, any each prisoner will autoresize itself in its jail frame. Moreover, any
prisoner, being a subview of its jail, is clipped in its jail frame. If prisoner, being a subview of its jail, is clipped in its jail frame. If

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_AppKit #ifndef _GNUstep_H_AppKit
#define _GNUstep_H_AppKit #define _GNUstep_H_AppKit
#import <GNUstepBase/GSVersionMacros.h>
/* Define library version */ /* Define library version */
#include <GNUstepGUI/GSVersion.h> #include <GNUstepGUI/GSVersion.h>
@ -115,7 +117,7 @@
#include <AppKit/NSWindow.h> #include <AppKit/NSWindow.h>
#include <AppKit/NSWorkspace.h> #include <AppKit/NSWorkspace.h>
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <AppKit/NSAlert.h> #include <AppKit/NSAlert.h>
#include <AppKit/NSAffineTransform.h> #include <AppKit/NSAffineTransform.h>
#include <AppKit/NSBezierPath.h> #include <AppKit/NSBezierPath.h>

View file

@ -18,11 +18,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef __AppKitDefines_INCLUDE #ifndef __AppKitDefines_INCLUDE
#define __AppKitDefines_INCLUDE #define __AppKitDefines_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#ifdef GNUSTEP_WITH_DLL #ifdef GNUSTEP_WITH_DLL

View file

@ -20,10 +20,12 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef __AppKit_AppKitExceptions_h__ #ifndef __AppKit_AppKitExceptions_h__
#define __AppKit_AppKitExceptions_h__ #define __AppKit_AppKitExceptions_h__
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/AppKitDefines.h> #include <AppKit/AppKitDefines.h>
@ -66,7 +68,7 @@ APPKIT_EXPORT NSString *NSWindowServerCommunicationException;
APPKIT_EXPORT NSString *NSWordTablesReadException; APPKIT_EXPORT NSString *NSWordTablesReadException;
APPKIT_EXPORT NSString *NSWordTablesWriteException; APPKIT_EXPORT NSString *NSWordTablesWriteException;
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
APPKIT_EXPORT NSString *GSWindowServerInternalException; APPKIT_EXPORT NSString *GSWindowServerInternalException;
#endif #endif

View file

@ -18,11 +18,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _DPSOperators_h_INCLUDE #ifndef _DPSOperators_h_INCLUDE
#define _DPSOperators_h_INCLUDE #define _DPSOperators_h_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSGraphicsContext.h> #include <AppKit/NSGraphicsContext.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSActionCell #ifndef _GNUstep_H_NSActionCell
#define _GNUstep_H_NSActionCell #define _GNUstep_H_NSActionCell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSCell.h> #include <AppKit/NSCell.h>

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSAffineTransform #ifndef _GNUstep_H_NSAffineTransform
#define _GNUstep_H_NSAffineTransform #define _GNUstep_H_NSAffineTransform
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -66,7 +68,7 @@ typedef struct {
- (void) translateXBy: (float)tranX yBy: (float)tranY; - (void) translateXBy: (float)tranX yBy: (float)tranY;
@end @end
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSAffineTransform (GNUstep) @interface NSAffineTransform (GNUstep)
- (void) translateToPoint: (NSPoint)point; - (void) translateToPoint: (NSPoint)point;
- (void) scaleTo: (float)sx : (float)sy; - (void) scaleTo: (float)sx : (float)sy;

View file

@ -22,11 +22,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSAlert #ifndef _GNUstep_H_NSAlert
#define _GNUstep_H_NSAlert #define _GNUstep_H_NSAlert
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>

View file

@ -28,7 +28,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
AutogsdocSource: NSApplication.m AutogsdocSource: NSApplication.m
AutogsdocSource: GSServicesManager.m AutogsdocSource: GSServicesManager.m
@ -37,6 +38,7 @@
#ifndef _GNUstep_H_NSApplication #ifndef _GNUstep_H_NSApplication
#define _GNUstep_H_NSApplication #define _GNUstep_H_NSApplication
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSResponder.h> #include <AppKit/NSResponder.h>
@ -67,7 +69,7 @@ enum {
NSRunContinuesResponse = (-1002) NSRunContinuesResponse = (-1002)
}; };
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#define NSUpdateWindowsRunLoopOrdering 600000 #define NSUpdateWindowsRunLoopOrdering 600000
typedef enum { typedef enum {
@ -123,7 +125,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
* Class methods * Class methods
*/ */
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (void) detachDrawingThread: (SEL)selector + (void) detachDrawingThread: (SEL)selector
toTarget: (id)target toTarget: (id)target
withObject: (id)argument; withObject: (id)argument;
@ -149,7 +151,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
- (void) activateIgnoringOtherApps: (BOOL)flag; - (void) activateIgnoringOtherApps: (BOOL)flag;
- (void) deactivate; - (void) deactivate;
- (BOOL) isActive; - (BOOL) isActive;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) hideOtherApplications: (id)sender; - (void) hideOtherApplications: (id)sender;
- (void) unhideAllApplications: (id)sender; - (void) unhideAllApplications: (id)sender;
#endif #endif
@ -170,7 +172,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
- (void) stopModal; - (void) stopModal;
- (void) stopModalWithCode: (int)returnCode; - (void) stopModalWithCode: (int)returnCode;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (int) runModalForWindow: (NSWindow *)theWindow - (int) runModalForWindow: (NSWindow *)theWindow
relativeToWindow: (NSWindow *)docWindow; relativeToWindow: (NSWindow *)docWindow;
- (void) beginSheet: (NSWindow *)sheet - (void) beginSheet: (NSWindow *)sheet
@ -202,7 +204,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
to: (id)aTarget to: (id)aTarget
from: (id)sender; from: (id)sender;
- (id) targetForAction: (SEL)aSelector; - (id) targetForAction: (SEL)aSelector;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id)targetForAction: (SEL)theAction - (id)targetForAction: (SEL)theAction
to: (id)theTarget to: (id)theTarget
from: (id)sender; from: (id)sender;
@ -241,14 +243,14 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
/* /*
* Showing Standard Panels * Showing Standard Panels
*/ */
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/* GNUstep extensions displaying an infoPanel, title is 'Info' */ /* GNUstep extensions displaying an infoPanel, title is 'Info' */
/* For a list of the useful values in the dictionary, see GSInfoPanel.h. /* For a list of the useful values in the dictionary, see GSInfoPanel.h.
The entries are mostly compatible with macosx. */ The entries are mostly compatible with macosx. */
- (void) orderFrontStandardInfoPanel: (id)sender; - (void) orderFrontStandardInfoPanel: (id)sender;
- (void) orderFrontStandardInfoPanelWithOptions: (NSDictionary *)dictionary; - (void) orderFrontStandardInfoPanelWithOptions: (NSDictionary *)dictionary;
#endif #endif
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/* macosx extensions displaying an aboutPanel, title is 'About'. /* macosx extensions displaying an aboutPanel, title is 'About'.
NB: These two methods do exactly the same as the two methods above, NB: These two methods do exactly the same as the two methods above,
only the title is different. */ only the title is different. */
@ -261,7 +263,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
*/ */
- (NSMenu*) mainMenu; - (NSMenu*) mainMenu;
- (void) setMainMenu: (NSMenu*)aMenu; - (void) setMainMenu: (NSMenu*)aMenu;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setAppleMenu: (NSMenu*)aMenu; - (void) setAppleMenu: (NSMenu*)aMenu;
#endif #endif
@ -305,7 +307,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
/* /*
* Terminating the application * Terminating the application
*/ */
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) replyToApplicationShouldTerminate: (BOOL)shouldTerminate; - (void) replyToApplicationShouldTerminate: (BOOL)shouldTerminate;
#endif #endif
- (void) terminate: (id)sender; - (void) terminate: (id)sender;
@ -316,7 +318,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
- (id) delegate; - (id) delegate;
- (void) setDelegate: (id)anObject; - (void) setDelegate: (id)anObject;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/* /*
* Methods for scripting * Methods for scripting
*/ */
@ -353,12 +355,12 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
- (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard - (BOOL) writeSelectionToPasteboard: (NSPasteboard*)pboard
types: (NSArray*)types; types: (NSArray*)types;
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
- (NSWindow*) iconWindow; - (NSWindow*) iconWindow;
#endif #endif
@end @end
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSApplication (GSGUIInternal) @interface NSApplication (GSGUIInternal)
- (void) _windowWillDealloc: (NSWindow *)window; - (void) _windowWillDealloc: (NSWindow *)window;
@ -416,7 +418,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
*/ */
- (BOOL) applicationShouldOpenUntitledFile:(NSApplication *)sender; - (BOOL) applicationShouldOpenUntitledFile:(NSApplication *)sender;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** /**
* Sent from within the [NSApplication-terminate:]. If NO is returned * Sent from within the [NSApplication-terminate:]. If NO is returned
* termination will not proceed. * termination will not proceed.
@ -510,7 +512,7 @@ APPKIT_EXPORT NSString *NSEventTrackingRunLoopMode;
*/ */
- (void) applicationWillUpdate: (NSNotification*)aNotification; - (void) applicationWillUpdate: (NSNotification*)aNotification;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** /**
* Method called by scripting framework on OS X. <em>Not implemented (sent) * Method called by scripting framework on OS X. <em>Not implemented (sent)
* yet on GNUstep.</em> * yet on GNUstep.</em>
@ -577,7 +579,7 @@ NSShowsServicesMenuItem(NSString *name);
APPKIT_EXPORT BOOL APPKIT_EXPORT BOOL
NSPerformService(NSString *serviceItem, NSPasteboard *pboard); NSPerformService(NSString *serviceItem, NSPasteboard *pboard);
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
APPKIT_EXPORT id APPKIT_EXPORT id
GSContactApplication(NSString *appName, NSString *port, NSDate *expire); GSContactApplication(NSString *appName, NSString *port, NSDate *expire);
#endif #endif

View file

@ -23,12 +23,14 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSAttributedString #ifndef _GNUstep_H_NSAttributedString
#define _GNUstep_H_NSAttributedString #define _GNUstep_H_NSAttributedString
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <Foundation/NSAttributedString.h> #include <Foundation/NSAttributedString.h>
#include <Foundation/NSRange.h> #include <Foundation/NSRange.h>
@ -91,7 +93,7 @@ enum
- (NSFileWrapper*) RTFDFileWrapperFromRange: (NSRange)range - (NSFileWrapper*) RTFDFileWrapperFromRange: (NSRange)range
documentAttributes: (NSDictionary*)dict; documentAttributes: (NSDictionary*)dict;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (NSArray *) textFileTypes; + (NSArray *) textFileTypes;
+ (NSArray *) textPasteboardTypes; + (NSArray *) textPasteboardTypes;
+ (NSArray *) textUnfilteredFileTypes; + (NSArray *) textUnfilteredFileTypes;

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02111 - 1307, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02111 - 1307, USA.
*/ */
#ifndef BEZIERPATH_H #ifndef BEZIERPATH_H
#define BEZIERPATH_H #define BEZIERPATH_H
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/Foundation.h> #include <Foundation/Foundation.h>
#include <AppKit/NSFont.h> #include <AppKit/NSFont.h>
@ -222,7 +224,7 @@ typedef enum {
// Hit detection // Hit detection
// //
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/** Returns the winding count, according to the PostScript definition, /** Returns the winding count, according to the PostScript definition,
at the given point. */ at the given point. */
- (int) windingCountAtPoint: (NSPoint)point; - (int) windingCountAtPoint: (NSPoint)point;

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSBitmapImageRep #ifndef _GNUstep_H_NSBitmapImageRep
#define _GNUstep_H_NSBitmapImageRep #define _GNUstep_H_NSBitmapImageRep
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSImageRep.h> #include <AppKit/NSImageRep.h>
@ -48,7 +50,7 @@ typedef enum _NSTIFFCompression {
NSTIFFCompressionOldJPEG NSTIFFCompressionOldJPEG
} NSTIFFCompression; } NSTIFFCompression;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
// FIXME: This is probably wrong // FIXME: This is probably wrong
typedef enum _NSBitmapImageFileType { typedef enum _NSBitmapImageFileType {
NSTIFFFileType = 0, NSTIFFFileType = 0,
@ -90,7 +92,7 @@ typedef enum _NSBitmapImageFileType {
bytesPerRow: (int)rowBytes bytesPerRow: (int)rowBytes
bitsPerPixel: (int)pixelBits; bitsPerPixel: (int)pixelBits;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)colorizeByMappingGray:(float)midPoint - (void)colorizeByMappingGray:(float)midPoint
toColor:(NSColor *)midPointColor toColor:(NSColor *)midPointColor
blackMapping:(NSColor *)shadowColor blackMapping:(NSColor *)shadowColor
@ -126,7 +128,7 @@ typedef enum _NSBitmapImageFileType {
- (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)type - (NSData*) TIFFRepresentationUsingCompression: (NSTIFFCompression)type
factor: (float)factor; factor: (float)factor;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (NSData *)representationOfImageRepsInArray:(NSArray *)imageReps + (NSData *)representationOfImageRepsInArray:(NSArray *)imageReps
usingType:(NSBitmapImageFileType)storageType usingType:(NSBitmapImageFileType)storageType
properties:(NSDictionary *)properties; properties:(NSDictionary *)properties;
@ -146,7 +148,7 @@ typedef enum _NSBitmapImageFileType {
- (void) setCompression: (NSTIFFCompression)compression - (void) setCompression: (NSTIFFCompression)compression
factor: (float)factor; factor: (float)factor;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setProperty:(NSString *)property withValue:(id)value; - (void)setProperty:(NSString *)property withValue:(id)value;
- (id)valueForProperty:(NSString *)property; - (id)valueForProperty:(NSString *)property;
#endif #endif

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSBox #ifndef _GNUstep_H_NSBox
#define _GNUstep_H_NSBox #define _GNUstep_H_NSBox
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSView.h> #include <AppKit/NSView.h>
@ -70,7 +72,7 @@ typedef enum _NSTitlePosition {
- (NSFont *)titleFont; - (NSFont *)titleFont;
- (NSTitlePosition)titlePosition; - (NSTitlePosition)titlePosition;
- (NSRect)titleRect; - (NSRect)titleRect;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setTitleWithMnemonic:(NSString *)aString; - (void)setTitleWithMnemonic:(NSString *)aString;
#endif #endif
@ -88,7 +90,7 @@ typedef enum _NSTitlePosition {
- (void)setFrameFromContentFrame:(NSRect)contentFrame; - (void)setFrameFromContentFrame:(NSRect)contentFrame;
- (void)sizeToFit; - (void)sizeToFit;
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
-(NSSize) minimumSize; -(NSSize) minimumSize;
#endif #endif
@end @end

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSBrowser #ifndef _GNUstep_H_NSBrowser
#define _GNUstep_H_NSBrowser #define _GNUstep_H_NSBrowser
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSControl.h> #include <AppKit/NSControl.h>
@ -174,7 +176,7 @@
- (void) drawTitle: (NSString *)title - (void) drawTitle: (NSString *)title
inRect: (NSRect)aRect inRect: (NSRect)aRect
ofColumn: (int)column; ofColumn: (int)column;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) drawTitleOfColumn: (int)column - (void) drawTitleOfColumn: (int)column
inRect: (NSRect)aRect; inRect: (NSRect)aRect;
#endif #endif

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSBrowserCell #ifndef _GNUstep_H_NSBrowserCell
#define _GNUstep_H_NSBrowserCell #define _GNUstep_H_NSBrowserCell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSCell.h> #include <AppKit/NSCell.h>

View file

@ -24,11 +24,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSButton #ifndef _GNUstep_H_NSButton
#define _GNUstep_H_NSButton #define _GNUstep_H_NSButton
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSControl.h> #include <AppKit/NSControl.h>
#include <AppKit/NSButtonCell.h> #include <AppKit/NSButtonCell.h>
@ -45,7 +47,7 @@
// Setting the Button Type // Setting the Button Type
// //
- (void)setButtonType:(NSButtonType)aType; - (void)setButtonType:(NSButtonType)aType;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setHighlightsBy:(int)aType; - (void)setHighlightsBy:(int)aType;
- (void)setShowsStateBy:(int)aType; - (void)setShowsStateBy:(int)aType;
#endif #endif
@ -74,7 +76,7 @@
- (void)setAlternateTitle:(NSString *)aString; - (void)setAlternateTitle:(NSString *)aString;
- (void)setTitle:(NSString *)aString; - (void)setTitle:(NSString *)aString;
- (NSString *)title; - (NSString *)title;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSAttributedString *)attributedAlternateTitle; - (NSAttributedString *)attributedAlternateTitle;
- (NSAttributedString *)attributedTitle; - (NSAttributedString *)attributedTitle;
- (void)setAttributedAlternateTitle:(NSAttributedString *)aString; - (void)setAttributedAlternateTitle:(NSAttributedString *)aString;
@ -99,7 +101,7 @@
- (BOOL)isTransparent; - (BOOL)isTransparent;
- (void)setBordered:(BOOL)flag; - (void)setBordered:(BOOL)flag;
- (void)setTransparent:(BOOL)flag; - (void)setTransparent:(BOOL)flag;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSBezelStyle)bezelStyle; - (NSBezelStyle)bezelStyle;
- (void)setBezelStyle:(NSBezelStyle)bezelStyle; - (void)setBezelStyle:(NSBezelStyle)bezelStyle;
- (void)setShowsBorderOnlyWhileMouseInside:(BOOL)show; - (void)setShowsBorderOnlyWhileMouseInside:(BOOL)show;
@ -127,7 +129,7 @@
// //
// Sound // Sound
// //
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setSound:(NSSound *)aSound; - (void)setSound:(NSSound *)aSound;
- (NSSound *)sound; - (NSSound *)sound;
#endif #endif

View file

@ -24,11 +24,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSButtonCell #ifndef _GNUstep_H_NSButtonCell
#define _GNUstep_H_NSButtonCell #define _GNUstep_H_NSButtonCell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSActionCell.h> #include <AppKit/NSActionCell.h>
@ -104,7 +106,7 @@ typedef enum _NSGradientType {
- (void)setFont:(NSFont *)fontObject; - (void)setFont:(NSFont *)fontObject;
- (void)setTitle:(NSString *)aString; - (void)setTitle:(NSString *)aString;
- (NSString *)title; - (NSString *)title;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSAttributedString *)attributedAlternateTitle; - (NSAttributedString *)attributedAlternateTitle;
- (NSAttributedString *)attributedTitle; - (NSAttributedString *)attributedTitle;
- (void)setAttributedAlternateTitle:(NSAttributedString *)aString; - (void)setAttributedAlternateTitle:(NSAttributedString *)aString;
@ -149,7 +151,7 @@ typedef enum _NSGradientType {
// //
- (BOOL)isTransparent; - (BOOL)isTransparent;
- (void)setTransparent:(BOOL)flag; - (void)setTransparent:(BOOL)flag;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSBezelStyle)bezelStyle; - (NSBezelStyle)bezelStyle;
- (void)setBezelStyle:(NSBezelStyle)bezelStyle; - (void)setBezelStyle:(NSBezelStyle)bezelStyle;
- (BOOL)showsBorderOnlyWhileMouseInside; - (BOOL)showsBorderOnlyWhileMouseInside;
@ -172,7 +174,7 @@ typedef enum _NSGradientType {
// //
// Sound // Sound
// //
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setSound:(NSSound *)aSound; - (void)setSound:(NSSound *)aSound;
- (NSSound *)sound; - (NSSound *)sound;
#endif #endif
@ -180,7 +182,7 @@ typedef enum _NSGradientType {
// //
// Mouse // Mouse
// //
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)mouseEntered:(NSEvent *)event; - (void)mouseEntered:(NSEvent *)event;
- (void)mouseExited:(NSEvent *)event; - (void)mouseExited:(NSEvent *)event;
#endif #endif

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSCachedImageRep #ifndef _GNUstep_H_NSCachedImageRep
#define _GNUstep_H_NSCachedImageRep #define _GNUstep_H_NSCachedImageRep
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSImageRep.h> #include <AppKit/NSImageRep.h>
#include <AppKit/NSGraphics.h> #include <AppKit/NSGraphics.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSCell #ifndef _GNUstep_H_NSCell
#define _GNUstep_H_NSCell #define _GNUstep_H_NSCell
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -162,7 +164,7 @@ enum {
// //
// Class methods // Class methods
// //
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (NSMenu *)defaultMenu; + (NSMenu *)defaultMenu;
#endif #endif
+ (BOOL) prefersTrackingUntilMouseUp; + (BOOL) prefersTrackingUntilMouseUp;
@ -242,7 +244,7 @@ enum {
- (void)setWraps:(BOOL)flag; - (void)setWraps:(BOOL)flag;
- (BOOL)wraps; - (BOOL)wraps;
- (NSText *)setUpFieldEditorAttributes:(NSText *)textObject; - (NSText *)setUpFieldEditorAttributes:(NSText *)textObject;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setAttributedStringValue:(NSAttributedString *)attribStr; - (void)setAttributedStringValue:(NSAttributedString *)attribStr;
- (NSAttributedString *)attributedStringValue; - (NSAttributedString *)attributedStringValue;
- (void)setAllowsEditingTextAttributes:(BOOL)flag; - (void)setAllowsEditingTextAttributes:(BOOL)flag;
@ -279,7 +281,7 @@ enum {
// //
// Formatting Data and Validating Input // Formatting Data and Validating Input
// //
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setFormatter:(NSFormatter *)newFormatter; - (void)setFormatter:(NSFormatter *)newFormatter;
- (id)formatter; - (id)formatter;
#endif #endif
@ -293,7 +295,7 @@ enum {
// //
// Menu // Menu
// //
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setMenu:(NSMenu *)aMenu; - (void)setMenu:(NSMenu *)aMenu;
- (NSMenu *)menu; - (NSMenu *)menu;
- (NSMenu *)menuForEvent:(NSEvent *)anEvent - (NSMenu *)menuForEvent:(NSEvent *)anEvent
@ -318,7 +320,7 @@ enum {
// interface so methods referring to mnemonics do nothing -- they are // interface so methods referring to mnemonics do nothing -- they are
// provided for compatibility only; please use key equivalents instead // provided for compatibility only; please use key equivalents instead
// in your GNUstep programs. // in your GNUstep programs.
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL)acceptsFirstResponder; - (BOOL)acceptsFirstResponder;
- (void)setShowsFirstResponder:(BOOL)flag; - (void)setShowsFirstResponder:(BOOL)flag;
- (BOOL)showsFirstResponder; - (BOOL)showsFirstResponder;
@ -391,7 +393,7 @@ enum {
- (NSRect)drawingRectForBounds:(NSRect)theRect; - (NSRect)drawingRectForBounds:(NSRect)theRect;
- (NSRect)imageRectForBounds:(NSRect)theRect; - (NSRect)imageRectForBounds:(NSRect)theRect;
- (NSRect)titleRectForBounds:(NSRect)theRect; - (NSRect)titleRectForBounds:(NSRect)theRect;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setControlSize:(NSControlSize)controlSize; - (void)setControlSize:(NSControlSize)controlSize;
- (NSControlSize)controlSize; - (NSControlSize)controlSize;
#endif #endif
@ -408,7 +410,7 @@ enum {
withFrame:(NSRect)cellFrame withFrame:(NSRect)cellFrame
inView:(NSView *)controlView; inView:(NSView *)controlView;
- (BOOL)isHighlighted; - (BOOL)isHighlighted;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setHighlighted: (BOOL) flag; - (void)setHighlighted: (BOOL) flag;
- (NSColor*)highlightColorWithFrame:(NSRect)cellFrame - (NSColor*)highlightColorWithFrame:(NSRect)cellFrame
inView:(NSView *)controlView; inView:(NSView *)controlView;
@ -431,7 +433,7 @@ enum {
start:(int)selStart start:(int)selStart
length:(int)selLength; length:(int)selLength;
- (void)endEditing:(NSText *)textObject; - (void)endEditing:(NSText *)textObject;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL)sendsActionOnEndEditing; - (BOOL)sendsActionOnEndEditing;
- (void)setSendsActionOnEndEditing:(BOOL)flag; - (void)setSendsActionOnEndEditing:(BOOL)flag;
#endif #endif

View file

@ -22,11 +22,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSClipView #ifndef _GNUstep_H_NSClipView
#define _GNUstep_H_NSClipView #define _GNUstep_H_NSClipView
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSView.h> #include <AppKit/NSView.h>
@ -70,7 +72,7 @@
- (void)setBackgroundColor:(NSColor*)aColor; - (void)setBackgroundColor:(NSColor*)aColor;
- (NSColor*)backgroundColor; - (NSColor*)backgroundColor;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/* Setting the background drawing */ /* Setting the background drawing */
- (void)setDrawsBackground:(BOOL)flag; - (void)setDrawsBackground:(BOOL)flag;
- (BOOL)drawsBackground; - (BOOL)drawsBackground;

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSColor #ifndef _GNUstep_H_NSColor
#define _GNUstep_H_NSColor #define _GNUstep_H_NSColor
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>
#include <AppKit/AppKitDefines.h> #include <AppKit/AppKitDefines.h>
@ -186,7 +188,7 @@ typedef enum _NSControlSize {
- (void)drawSwatchInRect:(NSRect)rect; - (void)drawSwatchInRect:(NSRect)rect;
- (void)set; - (void)set;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
// //
// Changing the color // Changing the color
// //
@ -241,7 +243,7 @@ typedef enum _NSControlSize {
APPKIT_EXPORT NSString *NSSystemColorsDidChangeNotification; APPKIT_EXPORT NSString *NSSystemColorsDidChangeNotification;
#ifndef STRICT_MACOS_X #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSCoder (NSCoderAdditions) @interface NSCoder (NSCoderAdditions)
// //

View file

@ -25,11 +25,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSColorList #ifndef _GNUstep_H_NSColorList
#define _GNUstep_H_NSColorList #define _GNUstep_H_NSColorList
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>
#include <AppKit/AppKitDefines.h> #include <AppKit/AppKitDefines.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSColorPanel #ifndef _GNUstep_H_NSColorPanel
#define _GNUstep_H_NSColorPanel #define _GNUstep_H_NSColorPanel
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSApplication.h> #include <AppKit/NSApplication.h>
#include <AppKit/NSBox.h> #include <AppKit/NSBox.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSColorPicker #ifndef _GNUstep_H_NSColorPicker
#define _GNUstep_H_NSColorPicker #define _GNUstep_H_NSColorPicker
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <AppKit/NSColorPicking.h> #include <AppKit/NSColorPicking.h>

View file

@ -22,11 +22,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSColorPicking #ifndef _GNUstep_H_NSColorPicking
#define _GNUstep_H_NSColorPicking #define _GNUstep_H_NSColorPicking
#import <GNUstepBase/GSVersionMacros.h>
#include <objc/Protocol.h> #include <objc/Protocol.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSColorWell #ifndef _GNUstep_H_NSColorWell
#define _GNUstep_H_NSColorWell #define _GNUstep_H_NSColorWell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSControl.h> #include <AppKit/NSControl.h>

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSComboBox #ifndef _GNUstep_H_NSComboBox
#define _GNUstep_H_NSComboBox #define _GNUstep_H_NSComboBox
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSTextField.h> #include <AppKit/NSTextField.h>
@ -79,7 +81,7 @@
- (int) indexOfItemWithObjectValue: (id)object; - (int) indexOfItemWithObjectValue: (id)object;
- (NSArray *) objectValues; - (NSArray *) objectValues;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/* text completion */ /* text completion */
- (void) setCompletes: (BOOL)completes; - (void) setCompletes: (BOOL)completes;
- (BOOL) completes; - (BOOL) completes;
@ -91,7 +93,7 @@
- (id) comboBox: (NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index; - (id) comboBox: (NSComboBox *)aComboBox objectValueForItemAtIndex:(int)index;
- (unsigned int) comboBox: (NSComboBox *)aComboBox - (unsigned int) comboBox: (NSComboBox *)aComboBox
indexOfItemWithStringValue: (NSString *)string; indexOfItemWithStringValue: (NSString *)string;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/* text completion */ /* text completion */
- (NSString *) comboBox: (NSComboBox *)aComboBox - (NSString *) comboBox: (NSComboBox *)aComboBox
completedString: (NSString *)aString; completedString: (NSString *)aString;

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSComboBoxCell #ifndef _GNUstep_H_NSComboBoxCell
#define _GNUstep_H_NSComboBoxCell #define _GNUstep_H_NSComboBoxCell
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
#include <AppKit/NSTextFieldCell.h> #include <AppKit/NSTextFieldCell.h>
@ -102,7 +104,7 @@
ofView: (NSView *)controlView ofView: (NSView *)controlView
untilMouseUp: (BOOL)flag; untilMouseUp: (BOOL)flag;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/* text completion */ /* text completion */
- (NSString *)completedString:(NSString *)substring; - (NSString *)completedString:(NSString *)substring;
- (void)setCompletes:(BOOL)completes; - (void)setCompletes:(BOOL)completes;
@ -116,7 +118,7 @@
objectValueForItemAtIndex:(int)index; objectValueForItemAtIndex:(int)index;
- (unsigned int)comboBoxCell:(NSComboBoxCell *)aComboBoxCell - (unsigned int)comboBoxCell:(NSComboBoxCell *)aComboBoxCell
indexOfItemWithStringValue:(NSString *)string; indexOfItemWithStringValue:(NSString *)string;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/* text completion */ /* text completion */
- (NSString *)comboBoxCell:(NSComboBoxCell *)aComboBoxCell - (NSString *)comboBoxCell:(NSComboBoxCell *)aComboBoxCell
completedString:(NSString *)uncompletedString; completedString:(NSString *)uncompletedString;

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSControl #ifndef _GNUstep_H_NSControl
#define _GNUstep_H_NSControl #define _GNUstep_H_NSControl
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSText.h> #include <AppKit/NSText.h>
@ -107,7 +109,7 @@
- (void)setFloatingPointFormat:(BOOL)autoRange - (void)setFloatingPointFormat:(BOOL)autoRange
left:(unsigned)leftDigits left:(unsigned)leftDigits
right:(unsigned)rightDigits; right:(unsigned)rightDigits;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)setFormatter:(NSFormatter*)newFormatter; - (void)setFormatter:(NSFormatter*)newFormatter;
- (id)formatter; - (id)formatter;
#endif #endif
@ -150,7 +152,7 @@
// //
// Attributed string handling // Attributed string handling
// //
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSAttributedString *)attributedStringValue; - (NSAttributedString *)attributedStringValue;
- (void)setAttributedStringValue:(NSAttributedString *)attribStr; - (void)setAttributedStringValue:(NSAttributedString *)attribStr;
#endif #endif
@ -165,7 +167,7 @@
// Activation // Activation
// //
- (void)performClick:(id)sender; - (void)performClick:(id)sender;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL)refusesFirstResponder; - (BOOL)refusesFirstResponder;
- (void)setRefusesFirstResponder:(BOOL)flag; - (void)setRefusesFirstResponder:(BOOL)flag;
#endif #endif
@ -209,7 +211,7 @@ APPKIT_EXPORT NSString *NSControlTextDidChangeNotification;
didFailToValidatePartialString: (NSString *)string didFailToValidatePartialString: (NSString *)string
errorDescription: (NSString *)error; errorDescription: (NSString *)error;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL) control: (NSControl *)control - (BOOL) control: (NSControl *)control
textView: (NSTextView *)textView textView: (NSTextView *)textView
doCommandBySelector: (SEL)command; doCommandBySelector: (SEL)command;

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSCursor #ifndef _GNUstep_H_NSCursor
#define _GNUstep_H_NSCursor #define _GNUstep_H_NSCursor
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>
@ -52,7 +54,7 @@
hotSpot: (NSPoint)hotSpot; hotSpot: (NSPoint)hotSpot;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id)initWithImage:(NSImage *)newImage - (id)initWithImage:(NSImage *)newImage
foregroundColorHint:(NSColor *)fg foregroundColorHint:(NSColor *)fg
backgroundColorHint:(NSColor *)bg backgroundColorHint:(NSColor *)bg
@ -64,7 +66,7 @@ backgroundColorHint:(NSColor *)bg
*/ */
- (NSPoint) hotSpot; - (NSPoint) hotSpot;
- (NSImage*) image; - (NSImage*) image;
#ifndef STRICT_MACOS_X #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
- (void) setHotSpot: (NSPoint)spot; - (void) setHotSpot: (NSPoint)spot;
- (void) setImage: (NSImage *)newImage; - (void) setImage: (NSImage *)newImage;
#endif #endif
@ -94,11 +96,11 @@ backgroundColorHint:(NSColor *)bg
+ (NSCursor*) currentCursor; + (NSCursor*) currentCursor;
+ (NSCursor*) IBeamCursor; + (NSCursor*) IBeamCursor;
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
+ (NSCursor*) greenArrowCursor; + (NSCursor*) greenArrowCursor;
#endif #endif
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (NSCursor*) closedHandCursor; + (NSCursor*) closedHandCursor;
+ (NSCursor*) crosshairCursor; + (NSCursor*) crosshairCursor;
+ (NSCursor*) disappearingItemCursor; + (NSCursor*) disappearingItemCursor;

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSCustomImageRep #ifndef _GNUstep_H_NSCustomImageRep
#define _GNUstep_H_NSCustomImageRep #define _GNUstep_H_NSCustomImageRep
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSImageRep.h> #include <AppKit/NSImageRep.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSDataLink #ifndef _GNUstep_H_NSDataLink
#define _GNUstep_H_NSDataLink #define _GNUstep_H_NSDataLink
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>
#include <AppKit/AppKitDefines.h> #include <AppKit/AppKitDefines.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSDataLinkManager #ifndef _GNUstep_H_NSDataLinkManager
#define _GNUstep_H_NSDataLinkManager #define _GNUstep_H_NSDataLinkManager
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSDataLinkPanel #ifndef _GNUstep_H_NSDataLinkPanel
#define _GNUstep_H_NSDataLinkPanel #define _GNUstep_H_NSDataLinkPanel
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSApplication.h> #include <AppKit/NSApplication.h>
#include <AppKit/NSPanel.h> #include <AppKit/NSPanel.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSDocument #ifndef _GNUstep_H_NSDocument
#define _GNUstep_H_NSDocument #define _GNUstep_H_NSDocument
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <AppKit/NSNibDeclarations.h> #include <AppKit/NSNibDeclarations.h>

View file

@ -23,12 +23,14 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSDocumentController #ifndef _GNUstep_H_NSDocumentController
#define _GNUstep_H_NSDocumentController #define _GNUstep_H_NSDocumentController
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <Foundation/Foundation.h> #include <Foundation/Foundation.h>
#include <AppKit/NSNibDeclarations.h> #include <AppKit/NSNibDeclarations.h>
@ -119,7 +121,7 @@
@end @end
#endif // STRICT_OPENSTEP #endif // GS_API_MACOSX
#endif // _GNUstep_H_NSDocumentController #endif // _GNUstep_H_NSDocumentController

View file

@ -23,10 +23,12 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSDocumentFramworkPrivate #ifndef _GNUstep_H_NSDocumentFramworkPrivate
#define _GNUstep_H_NSDocumentFramworkPrivate #define _GNUstep_H_NSDocumentFramworkPrivate
#import <GNUstepBase/GSVersionMacros.h>
#include "NSDocumentController.h" #include "NSDocumentController.h"

View file

@ -22,11 +22,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSDragging #ifndef _GNUstep_H_NSDragging
#define _GNUstep_H_NSDragging #define _GNUstep_H_NSDragging
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -87,7 +89,7 @@ typedef enum _NSDragOperation {
- (BOOL)performDragOperation:(id <NSDraggingInfo>)sender; - (BOOL)performDragOperation:(id <NSDraggingInfo>)sender;
- (void)concludeDragOperation:(id <NSDraggingInfo>)sender; - (void)concludeDragOperation:(id <NSDraggingInfo>)sender;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)draggingEnded: (id <NSDraggingInfo>)sender; - (void)draggingEnded: (id <NSDraggingInfo>)sender;
- (BOOL)wantsPeriodicDraggingUpdates; - (BOOL)wantsPeriodicDraggingUpdates;
#endif #endif
@ -110,7 +112,7 @@ typedef enum _NSDragOperation {
endedAt: (NSPoint)screenPoint endedAt: (NSPoint)screenPoint
deposited: (BOOL)didDeposit; deposited: (BOOL)didDeposit;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)draggedImage: (NSImage*)image - (void)draggedImage: (NSImage*)image
endedAt: (NSPoint)screenPoint endedAt: (NSPoint)screenPoint
operation: (NSDragOperation)operation; operation: (NSDragOperation)operation;

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSDrawer #ifndef _GNUstep_H_NSDrawer
#define _GNUstep_H_NSDrawer #define _GNUstep_H_NSDrawer
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
#include <AppKit/NSResponder.h> #include <AppKit/NSResponder.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSEPSImageRep #ifndef _GNUstep_H_NSEPSImageRep
#define _GNUstep_H_NSEPSImageRep #define _GNUstep_H_NSEPSImageRep
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
#include <AppKit/NSImageRep.h> #include <AppKit/NSImageRep.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSEvent #ifndef _GNUstep_H_NSEvent
#define _GNUstep_H_NSEvent #define _GNUstep_H_NSEvent
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -203,7 +205,7 @@ enum {
clickCount: (int)clickNum clickCount: (int)clickNum
pressure: (float)pressureValue; pressure: (float)pressureValue;
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
+ (NSEvent*) mouseEventWithType: (NSEventType)type + (NSEvent*) mouseEventWithType: (NSEventType)type
location: (NSPoint)location location: (NSPoint)location
modifierFlags: (unsigned int)flags modifierFlags: (unsigned int)flags
@ -236,7 +238,7 @@ enum {
+ (void) stopPeriodicEvents; + (void) stopPeriodicEvents;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (int) buttonNumber; - (int) buttonNumber;
#endif #endif
- (NSString *) characters; - (NSString *) characters;
@ -245,7 +247,7 @@ enum {
- (NSGraphicsContext*) context; - (NSGraphicsContext*) context;
- (int) data1; - (int) data1;
- (int) data2; - (int) data2;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (float)deltaX; - (float)deltaX;
- (float)deltaY; - (float)deltaY;
- (float)deltaZ; - (float)deltaZ;
@ -347,7 +349,7 @@ enum {
*/ */
unsigned int NSEventMaskFromType(NSEventType type); unsigned int NSEventMaskFromType(NSEventType type);
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
typedef enum { typedef enum {
GSAppKitWindowMoved = 1, GSAppKitWindowMoved = 1,
GSAppKitWindowResized, GSAppKitWindowResized,

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSFileWrapper #ifndef _GNUstep_H_NSFileWrapper
#define _GNUstep_H_NSFileWrapper #define _GNUstep_H_NSFileWrapper
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSDictionary.h> #include <Foundation/NSDictionary.h>
#include <AppKit/NSImage.h> #include <AppKit/NSImage.h>

View file

@ -24,11 +24,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSFont #ifndef _GNUstep_H_NSFont
#define _GNUstep_H_NSFont #define _GNUstep_H_NSFont
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -110,7 +112,7 @@ APPKIT_EXPORT const float *NSFontIdentityMatrix;
+ (NSFont*) userFixedPitchFontOfSize: (float)fontSize; + (NSFont*) userFixedPitchFontOfSize: (float)fontSize;
+ (NSFont*) userFontOfSize: (float)fontSize; + (NSFont*) userFontOfSize: (float)fontSize;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (NSFont*) titleBarFontOfSize: (float)fontSize; + (NSFont*) titleBarFontOfSize: (float)fontSize;
+ (NSFont*) menuFontOfSize: (float)fontSize; + (NSFont*) menuFontOfSize: (float)fontSize;
+ (NSFont*) messageFontOfSize: (float)fontSize; + (NSFont*) messageFontOfSize: (float)fontSize;
@ -124,7 +126,7 @@ APPKIT_EXPORT const float *NSFontIdentityMatrix;
// //
// Font Sizes // Font Sizes
// //
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (float) labelFontSize; + (float) labelFontSize;
+ (float) smallSystemFontSize; + (float) smallSystemFontSize;
+ (float) systemFontSize; + (float) systemFontSize;
@ -173,7 +175,7 @@ APPKIT_EXPORT const float *NSFontIdentityMatrix;
- (float) widthOfString: (NSString*)string; - (float) widthOfString: (NSString*)string;
- (float) defaultLineHeightForFont; - (float) defaultLineHeightForFont;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (unsigned) numberOfGlyphs; - (unsigned) numberOfGlyphs;
- (NSCharacterSet*) coveredCharacterSet; - (NSCharacterSet*) coveredCharacterSet;
- (NSFontDescriptor*) fontDescriptor; - (NSFontDescriptor*) fontDescriptor;
@ -212,7 +214,7 @@ APPKIT_EXPORT const float *NSFontIdentityMatrix;
@end @end
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
@class GSFontInfo; @class GSFontInfo;
@interface NSFont (GNUstep) @interface NSFont (GNUstep)

View file

@ -26,11 +26,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSFontManager #ifndef _GNUstep_H_NSFontManager
#define _GNUstep_H_NSFontManager #define _GNUstep_H_NSFontManager
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSFontPanel #ifndef _GNUstep_H_NSFontPanel
#define _GNUstep_H_NSFontPanel #define _GNUstep_H_NSFontPanel
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSPanel.h> #include <AppKit/NSPanel.h>
#include <AppKit/NSFontManager.h> #include <AppKit/NSFontManager.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSForm #ifndef _GNUstep_H_NSForm
#define _GNUstep_H_NSForm #define _GNUstep_H_NSForm
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSMatrix.h> #include <AppKit/NSMatrix.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSFormCell #ifndef _GNUstep_H_NSFormCell
#define _GNUstep_H_NSFormCell #define _GNUstep_H_NSFormCell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSActionCell.h> #include <AppKit/NSActionCell.h>
@ -57,7 +59,7 @@
- (float)titleWidth; - (float)titleWidth;
- (float)titleWidth:(NSSize)aSize; - (float)titleWidth:(NSSize)aSize;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
// //
// Attributed title // Attributed title
// //

View file

@ -20,10 +20,12 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef __NSGraphics_h__ #ifndef __NSGraphics_h__
#define __NSGraphics_h__ #define __NSGraphics_h__
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -46,7 +48,7 @@ APPKIT_EXPORT NSString *NSDeviceBlackColorSpace;
APPKIT_EXPORT NSString *NSDeviceRGBColorSpace; APPKIT_EXPORT NSString *NSDeviceRGBColorSpace;
APPKIT_EXPORT NSString *NSDeviceCMYKColorSpace; APPKIT_EXPORT NSString *NSDeviceCMYKColorSpace;
APPKIT_EXPORT NSString *NSNamedColorSpace; APPKIT_EXPORT NSString *NSNamedColorSpace;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
APPKIT_EXPORT NSString *NSPatternColorSpace; APPKIT_EXPORT NSString *NSPatternColorSpace;
#endif #endif
APPKIT_EXPORT NSString *NSCustomColorSpace; APPKIT_EXPORT NSString *NSCustomColorSpace;
@ -211,7 +213,7 @@ GSWViewIsFlipped(NSGraphicsContext *ctxt)
(ctxt, @selector(GSWViewIsFlipped)); (ctxt, @selector(GSWViewIsFlipped));
} }
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@class NSArray; @class NSArray;
@class NSWindow; @class NSWindow;
@ -220,7 +222,7 @@ APPKIT_EXPORT NSArray* GSAllWindows(void);
APPKIT_EXPORT NSWindow* GSWindowWithNumber(int num); APPKIT_EXPORT NSWindow* GSWindowWithNumber(int num);
#endif #endif
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
// Window operations // Window operations
APPKIT_EXPORT void NSConvertGlobalToWindowNumber(int globalNum, unsigned int *winNum); APPKIT_EXPORT void NSConvertGlobalToWindowNumber(int globalNum, unsigned int *winNum);
APPKIT_EXPORT void NSConvertWindowNumberToGlobal(int winNum, unsigned int *globalNum); APPKIT_EXPORT void NSConvertWindowNumberToGlobal(int winNum, unsigned int *globalNum);

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _NSGraphicsContext_h_INCLUDE #ifndef _NSGraphicsContext_h_INCLUDE
#define _NSGraphicsContext_h_INCLUDE #define _NSGraphicsContext_h_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSMapTable.h> #include <Foundation/NSMapTable.h>
@ -92,7 +94,7 @@ typedef enum _NSImageInterpolation
/* /*
* The following graphics context stuff is needed by inline functions, * The following graphics context stuff is needed by inline functions,
* so it must always be available even when STRICT_OPENSTEP is defined. * so it must always be available even when compiling for MACOSX or OPENSTEP
*/ */
@ -187,7 +189,7 @@ typedef enum _GSColorSpace
APPKIT_EXPORT NSGraphicsContext *GSCurrentContext(void); APPKIT_EXPORT NSGraphicsContext *GSCurrentContext(void);
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSGraphicsContext (GNUstep) @interface NSGraphicsContext (GNUstep)
+ (void) setDefaultContextClass: (Class)defaultContextClass; + (void) setDefaultContextClass: (Class)defaultContextClass;

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef __GNUstep_H_NSHelpManager #ifndef __GNUstep_H_NSHelpManager
#define __GNUstep_H_NSHelpManager #define __GNUstep_H_NSHelpManager
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSBundle.h> #include <Foundation/NSBundle.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>

View file

@ -23,13 +23,16 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef STRICT_MACOS_X
#ifndef _GNUstep_H_NSHelpPanel #ifndef _GNUstep_H_NSHelpPanel
#define _GNUstep_H_NSHelpPanel #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)
#include <AppKit/NSApplication.h> #include <AppKit/NSApplication.h>
#include <AppKit/NSPanel.h> #include <AppKit/NSPanel.h>
@ -88,6 +91,6 @@
@end @end
#endif // !GS_API_MACOSX
#endif // _GNUstep_H_NSHelpPanel #endif // _GNUstep_H_NSHelpPanel
#endif // STRICT_MACOS_X

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSImage #ifndef _GNUstep_H_NSImage
#define _GNUstep_H_NSImage #define _GNUstep_H_NSImage
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSGraphicsContext.h> #include <AppKit/NSGraphicsContext.h>
#include <Foundation/NSBundle.h> #include <Foundation/NSBundle.h>
@ -86,7 +88,7 @@ typedef enum {
- (id) initWithPasteboard: (NSPasteboard*)pasteboard; - (id) initWithPasteboard: (NSPasteboard*)pasteboard;
- (id) initWithSize: (NSSize)aSize; - (id) initWithSize: (NSSize)aSize;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id)initWithBitmapHandle:(void *)bitmap; - (id)initWithBitmapHandle:(void *)bitmap;
- (id)initWithContentsOfURL:(NSURL *)anURL; - (id)initWithContentsOfURL:(NSURL *)anURL;
- (id)initWithIconHandle:(void *)icon; - (id)initWithIconHandle:(void *)icon;
@ -102,8 +104,8 @@ typedef enum {
// Referring to Images by Name // Referring to Images by Name
// //
+ (id) imageNamed: (NSString*)aName; + (id) imageNamed: (NSString*)aName;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
+ (NSImage*) _standardImageWithName: (NSString*)name; + (NSImage*) _standardImageWithName: (NSString*)name;
#endif #endif
#endif #endif
@ -133,7 +135,7 @@ typedef enum {
fromRect: (NSRect)aRect fromRect: (NSRect)aRect
fraction: (float)aFloat; fraction: (float)aFloat;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) compositeToPoint: (NSPoint)aPoint - (void) compositeToPoint: (NSPoint)aPoint
fromRect: (NSRect)srcRect fromRect: (NSRect)srcRect
operation: (NSCompositingOperation)op operation: (NSCompositingOperation)op
@ -177,7 +179,7 @@ typedef enum {
// //
- (BOOL) drawRepresentation: (NSImageRep*)imageRep - (BOOL) drawRepresentation: (NSImageRep*)imageRep
inRect: (NSRect)aRect; inRect: (NSRect)aRect;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** Calls -drawAtPoint:fromRect:operation:fraction: with /** Calls -drawAtPoint:fromRect:operation:fraction: with
<code>dstRect</code> given by <code>point</code> and the size of <code>dstRect</code> given by <code>point</code> and the size of
<code>srcRect</code>. */ <code>srcRect</code>. */
@ -251,7 +253,7 @@ typedef enum {
@end @end
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/* /*
* A formal protocol that duplicates the informal protocol for delegates. * A formal protocol that duplicates the informal protocol for delegates.
*/ */

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSImageCell #ifndef _GNUstep_H_NSImageCell
#define _GNUstep_H_NSImageCell #define _GNUstep_H_NSImageCell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSCell.h> #include <AppKit/NSCell.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSImageRep #ifndef _GNUstep_H_NSImageRep
#define _GNUstep_H_NSImageRep #define _GNUstep_H_NSImageRep
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
#include <AppKit/AppKitDefines.h> #include <AppKit/AppKitDefines.h>
@ -61,7 +63,7 @@ enum {
+ (NSArray *)imageRepsWithContentsOfFile:(NSString *)filename; + (NSArray *)imageRepsWithContentsOfFile:(NSString *)filename;
+ (id)imageRepWithPasteboard:(NSPasteboard *)pasteboard; + (id)imageRepWithPasteboard:(NSPasteboard *)pasteboard;
+ (NSArray *)imageRepsWithPasteboard:(NSPasteboard *)pasteboard; + (NSArray *)imageRepsWithPasteboard:(NSPasteboard *)pasteboard;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (id)imageRepWithContentsOfURL:(NSURL *)anURL; + (id)imageRepWithContentsOfURL:(NSURL *)anURL;
+ (NSArray *)imageRepsWithContentsOfURL:(NSURL *)anURL; + (NSArray *)imageRepsWithContentsOfURL:(NSURL *)anURL;
#endif #endif

View file

@ -20,11 +20,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSImageView #ifndef _GNUstep_H_NSImageView
#define _GNUstep_H_NSImageView #define _GNUstep_H_NSImageView
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSControl.h> #include <AppKit/NSControl.h>
#include <AppKit/NSImageCell.h> #include <AppKit/NSImageCell.h>

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSInputManager #ifndef _GNUstep_H_NSInputManager
#define _GNUstep_H_NSInputManager #define _GNUstep_H_NSInputManager
#import <GNUstepBase/GSVersionMacros.h>
#include <objc/Protocol.h> #include <objc/Protocol.h>
#include <objc/objc.h> #include <objc/objc.h>

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSInputServer #ifndef _GNUstep_H_NSInputServer
#define _GNUstep_H_NSInputServer #define _GNUstep_H_NSInputServer
#import <GNUstepBase/GSVersionMacros.h>
#include <objc/Protocol.h> #include <objc/Protocol.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>

View file

@ -21,13 +21,15 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSInterfaceStyle #ifndef _GNUstep_H_NSInterfaceStyle
#define _GNUstep_H_NSInterfaceStyle #define _GNUstep_H_NSInterfaceStyle
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <AppKit/AppKitDefines.h> #include <AppKit/AppKitDefines.h>
@ -53,7 +55,7 @@ APPKIT_EXPORT NSString *NSInterfaceStyleDefault;
APPKIT_EXPORT NSInterfaceStyle APPKIT_EXPORT NSInterfaceStyle
NSInterfaceStyleForKey(NSString *key, NSResponder *responder); NSInterfaceStyleForKey(NSString *key, NSResponder *responder);
#endif // STRICT_OPENSTEP #endif // GS_API_MACOSX
#endif // _GNUstep_H_NSInterfaceStyle #endif // _GNUstep_H_NSInterfaceStyle

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSLayoutManager #ifndef _GNUstep_H_NSLayoutManager
#define _GNUstep_H_NSLayoutManager #define _GNUstep_H_NSLayoutManager
#import <GNUstepBase/GSVersionMacros.h>
#include <GNUstepGUI/GSLayoutManager.h> #include <GNUstepGUI/GSLayoutManager.h>
#include <AppKit/NSTextView.h> #include <AppKit/NSTextView.h>

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSMatrix #ifndef _GNUstep_H_NSMatrix
#define _GNUstep_H_NSMatrix #define _GNUstep_H_NSMatrix
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSControl.h> #include <AppKit/NSControl.h>

View file

@ -22,11 +22,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSMenu #ifndef _GNUstep_H_NSMenu
#define _GNUstep_H_NSMenu #define _GNUstep_H_NSMenu
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -564,7 +566,7 @@ The displayed menus on the screen have the following structure:
- (BOOL) validateMenuItem: (id<NSMenuItem>)menuItem; - (BOOL) validateMenuItem: (id<NSMenuItem>)menuItem;
@end @end
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSObject (NSMenuActionResponder) @interface NSObject (NSMenuActionResponder)
- (BOOL) validateMenuItem: (id<NSMenuItem>)aMenuItem; - (BOOL) validateMenuItem: (id<NSMenuItem>)aMenuItem;
@end @end

View file

@ -26,11 +26,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSMenuItem #ifndef _GNUstep_H_NSMenuItem
#define _GNUstep_H_NSMenuItem #define _GNUstep_H_NSMenuItem
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
@ -347,7 +349,7 @@
@end @end
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSMenuItem (GNUstepExtra) @interface NSMenuItem (GNUstepExtra)
- (void) setChangesState: (BOOL)flag; - (void) setChangesState: (BOOL)flag;
- (BOOL) changesState; - (BOOL) changesState;

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSMenuItemCell #ifndef _GNUstep_H_NSMenuItemCell
#define _GNUstep_H_NSMenuItemCell #define _GNUstep_H_NSMenuItemCell
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSActionCell.h> #include <AppKit/NSActionCell.h>
#include <AppKit/NSButtonCell.h> #include <AppKit/NSButtonCell.h>

View file

@ -21,11 +21,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSMenuView #ifndef _GNUstep_H_NSMenuView
#define _GNUstep_H_NSMenuView #define _GNUstep_H_NSMenuView
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h> #include <Foundation/NSCoder.h>
#include <Foundation/NSArray.h> #include <Foundation/NSArray.h>

View file

@ -22,11 +22,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSMovie #ifndef _GNUstep_H_NSMovie
#define _GNUstep_H_NSMovie #define _GNUstep_H_NSMovie
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>

View file

@ -22,11 +22,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSMovieView #ifndef _GNUstep_H_NSMovieView
#define _GNUstep_H_NSMovieView #define _GNUstep_H_NSMovieView
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSView.h> #include <AppKit/NSView.h>

View file

@ -35,11 +35,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSNib #ifndef _GNUstep_H_NSNib
#define _GNUstep_H_NSNib #define _GNUstep_H_NSNib
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSZone.h> #include <Foundation/NSZone.h>
@ -67,7 +69,7 @@
- (BOOL)instantiateNibWithExternalNameTable: (NSDictionary *)externalNameTable; - (BOOL)instantiateNibWithExternalNameTable: (NSDictionary *)externalNameTable;
- (BOOL)instantiateNibWithOwner: (id)owner topLevelObjects: (NSArray **)topLevelObjects; - (BOOL)instantiateNibWithOwner: (id)owner topLevelObjects: (NSArray **)topLevelObjects;
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
- (BOOL)instantiateNibWithExternalNameTable: (NSDictionary *)externalNameTable withZone: (NSZone *)zone; - (BOOL)instantiateNibWithExternalNameTable: (NSDictionary *)externalNameTable withZone: (NSZone *)zone;
#endif #endif

View file

@ -20,11 +20,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSNibConnector #ifndef _GNUstep_H_NSNibConnector
#define _GNUstep_H_NSNibConnector #define _GNUstep_H_NSNibConnector
#import <GNUstepBase/GSVersionMacros.h>
#ifndef GNUSTEP #ifndef GNUSTEP
#include <Foundation/Foundation.h> #include <Foundation/Foundation.h>

View file

@ -24,13 +24,15 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _NSNibDeclarations_H_ #ifndef _NSNibDeclarations_H_
#define _NSNibDeclarations_H_ #define _NSNibDeclarations_H_
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#define IBOutlet #define IBOutlet
#define IBAction void #define IBAction void
#endif #endif

View file

@ -22,11 +22,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSNibLoading #ifndef _GNUstep_H_NSNibLoading
#define _GNUstep_H_NSNibLoading #define _GNUstep_H_NSNibLoading
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSBundle.h> #include <Foundation/NSBundle.h>
@ -60,9 +62,9 @@
externalNameTable: (NSDictionary *)context externalNameTable: (NSDictionary *)context
withZone: (NSZone *)zone; withZone: (NSZone *)zone;
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
- (NSString *) pathForNibResource: (NSString *)fileName; - (NSString *) pathForNibResource: (NSString *)fileName;
#endif // NO_GNUSTEP #endif // GS_API_NONE
@end @end
#endif /* _GNUstep_H_NSNibLoading */ #endif /* _GNUstep_H_NSNibLoading */

View file

@ -19,11 +19,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _NSOpenGL_h_INCLUDE #ifndef _NSOpenGL_h_INCLUDE
#define _NSOpenGL_h_INCLUDE #define _NSOpenGL_h_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
@class NSView; @class NSView;

View file

@ -19,11 +19,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _NSOpenGLView_h #ifndef _NSOpenGLView_h
#define _NSOpenGLView_h #define _NSOpenGLView_h
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSView.h> #include <AppKit/NSView.h>

View file

@ -30,11 +30,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSOpenPanel #ifndef _GNUstep_H_NSOpenPanel
#define _GNUstep_H_NSOpenPanel #define _GNUstep_H_NSOpenPanel
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSSavePanel.h> #include <AppKit/NSSavePanel.h>
@ -56,7 +58,7 @@
file: (NSString *)name file: (NSString *)name
types: (NSArray *)fileTypes; types: (NSArray *)fileTypes;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (int) runModalForDirectory: (NSString *)path - (int) runModalForDirectory: (NSString *)path
file: (NSString *)name file: (NSString *)name
types: (NSArray *)fileTypes types: (NSArray *)fileTypes
@ -72,7 +74,7 @@
- (NSArray *) filenames; - (NSArray *) filenames;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSArray *) URLs; - (NSArray *) URLs;
#endif #endif
@ -81,7 +83,7 @@
- (BOOL) canChooseFiles; - (BOOL) canChooseFiles;
- (void) setCanChooseDirectories: (BOOL)flag; - (void) setCanChooseDirectories: (BOOL)flag;
- (void) setCanChooseFiles: (BOOL)flag; - (void) setCanChooseFiles: (BOOL)flag;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setResolvesAliases: (BOOL)flag; - (void) setResolvesAliases: (BOOL)flag;
- (BOOL) resolvesAliases; - (BOOL) resolvesAliases;
#endif #endif

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSOutlineView #ifndef _GNUstep_H_NSOutlineView
#define _GNUstep_H_NSOutlineView #define _GNUstep_H_NSOutlineView
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSTableView.h> #include <AppKit/NSTableView.h>
#include <Foundation/NSMapTable.h> #include <Foundation/NSMapTable.h>

View file

@ -25,11 +25,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSPageLayout #ifndef _GNUstep_H_NSPageLayout
#define _GNUstep_H_NSPageLayout #define _GNUstep_H_NSPageLayout
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSApplication.h> #include <AppKit/NSApplication.h>
#include <AppKit/NSPanel.h> #include <AppKit/NSPanel.h>
@ -78,8 +80,8 @@ enum {
// Running the Panel // Running the Panel
// //
- (int)runModal; - (int)runModal;
- (int)runModalWithPrintInfo:(NSPrintInfo *)pInfo; - (int)runModalWithPrintInfo:(NSPrintInfo *)printInfo;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)beginSheetWithPrintInfo:(NSPrintInfo *)printInfo - (void)beginSheetWithPrintInfo:(NSPrintInfo *)printInfo
modalForWindow:(NSWindow *)docWindow modalForWindow:(NSWindow *)docWindow
delegate:(id)delegate delegate:(id)delegate

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSPanel #ifndef _GNUstep_H_NSPanel
#define _GNUstep_H_NSPanel #define _GNUstep_H_NSPanel
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSWindow.h> #include <AppKit/NSWindow.h>
@ -55,7 +57,7 @@ enum {
#define NSAlertAlternate NSAlertAlternateReturn #define NSAlertAlternate NSAlertAlternateReturn
#define NSAlertOther NSAlertOtherReturn #define NSAlertOther NSAlertOtherReturn
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#define NS_ALERTDEFAULT NSAlertDefaultReturn #define NS_ALERTDEFAULT NSAlertDefaultReturn
#define NS_ALERTALTERNATE NSAlertAlternateReturn #define NS_ALERTALTERNATE NSAlertAlternateReturn
#define NS_ALERTOTHER NSAlertOtherReturn #define NS_ALERTOTHER NSAlertOtherReturn
@ -91,7 +93,7 @@ APPKIT_EXPORT id NSGetAlertPanel(NSString *title,
NSString *alternateButton, NSString *alternateButton,
NSString *otherButton, ...); NSString *otherButton, ...);
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
APPKIT_EXPORT id NSGetCriticalAlertPanel(NSString *title, APPKIT_EXPORT id NSGetCriticalAlertPanel(NSString *title,
NSString *msg, NSString *msg,
NSString *defaultButton, NSString *defaultButton,
@ -114,7 +116,7 @@ APPKIT_EXPORT int NSRunAlertPanel(NSString *title,
NSString *alternateButton, NSString *alternateButton,
NSString *otherButton, ...); NSString *otherButton, ...);
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
APPKIT_EXPORT int NSRunCriticalAlertPanel(NSString *title, APPKIT_EXPORT int NSRunCriticalAlertPanel(NSString *title,
NSString *msg, NSString *msg,
NSString *defaultButton, NSString *defaultButton,
@ -128,7 +130,7 @@ APPKIT_EXPORT int NSRunInformationalAlertPanel(NSString *title,
NSString *otherButton, ...); NSString *otherButton, ...);
#endif #endif
#ifndef STRICT_MACOS_X #if OS_API_VERSION(GS_API_ONE, GS_API_ONE)
APPKIT_EXPORT int NSRunLocalizedAlertPanel(NSString *table, APPKIT_EXPORT int NSRunLocalizedAlertPanel(NSString *table,
NSString *title, NSString *title,
NSString *msg, NSString *msg,
@ -137,7 +139,7 @@ APPKIT_EXPORT int NSRunLocalizedAlertPanel(NSString *table,
NSString *otherButton, ...); NSString *otherButton, ...);
#endif #endif
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
// //
// New alert interface of Mac OS X // New alert interface of Mac OS X
// //

View file

@ -1,4 +1,5 @@
/* /*
#import <GNUstepBase/GSVersionMacros.h>
NSParagraphStyle.h NSParagraphStyle.h
NSParagraphStyle and NSMutableParagraphStyle hold paragraph style NSParagraphStyle and NSMutableParagraphStyle hold paragraph style
@ -25,7 +26,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#include <AppKit/NSText.h> #include <AppKit/NSText.h>
@ -133,7 +135,7 @@ typedef enum _NSWritingDirection {
- (float) maximumLineHeight; - (float) maximumLineHeight;
- (NSLineBreakMode) lineBreakMode; - (NSLineBreakMode) lineBreakMode;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/* /*
* Returns the writing direction of "language", which is an ISO 639 * Returns the writing direction of "language", which is an ISO 639
* two- or three letter code, e.g. "en", or an ISO language-region * two- or three letter code, e.g. "en", or an ISO language-region
@ -163,7 +165,7 @@ typedef enum _NSWritingDirection {
- (void) setTabStops: (NSArray*)array; - (void) setTabStops: (NSArray*)array;
- (void) setParagraphStyle: (NSParagraphStyle*)obj; - (void) setParagraphStyle: (NSParagraphStyle*)obj;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setBaseWritingDirection: (NSWritingDirection)direction; - (void) setBaseWritingDirection: (NSWritingDirection)direction;
#endif #endif
@end @end

View file

@ -24,11 +24,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSPasteboard #ifndef _GNUstep_H_NSPasteboard
#define _GNUstep_H_NSPasteboard #define _GNUstep_H_NSPasteboard
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSString.h> #include <Foundation/NSString.h>
@ -108,7 +110,7 @@ APPKIT_EXPORT NSString *NSDataLinkPboardType;
*/ */
APPKIT_EXPORT NSString *NSGeneralPboardType; APPKIT_EXPORT NSString *NSGeneralPboardType;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** /**
* Pasteboard contains a PDF document * Pasteboard contains a PDF document
*/ */
@ -253,7 +255,7 @@ APPKIT_EXPORT NSString *NSPasteboardCommunicationException;
- (void) pasteboard: (NSPasteboard*)sender - (void) pasteboard: (NSPasteboard*)sender
provideDataForType: (NSString*)type; provideDataForType: (NSString*)type;
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/** /**
* Implemented where GNUstep pasteboard extensions are required.<br /> * Implemented where GNUstep pasteboard extensions are required.<br />
* This method is called by the pasteboard system when it does not have * This method is called by the pasteboard system when it does not have
@ -282,7 +284,7 @@ APPKIT_EXPORT NSString *NSPasteboardCommunicationException;
- (void) setHistory: (unsigned)length; - (void) setHistory: (unsigned)length;
@end @end
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <Foundation/NSURL.h> #include <Foundation/NSURL.h>
@interface NSURL (NSPasteboard) @interface NSURL (NSPasteboard)

View file

@ -25,7 +25,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSPopUpButton #ifndef _GNUstep_H_NSPopUpButton

View file

@ -23,7 +23,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSPopUpButtonCell #ifndef _GNUstep_H_NSPopUpButtonCell

View file

@ -27,7 +27,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSPrintInfo #ifndef _GNUstep_H_NSPrintInfo

View file

@ -30,11 +30,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSPrintOperation #ifndef _GNUstep_H_NSPrintOperation
#define _GNUstep_H_NSPrintOperation #define _GNUstep_H_NSPrintOperation
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <Foundation/NSGeometry.h> #include <Foundation/NSGeometry.h>
@ -92,7 +94,7 @@ typedef enum _NSPrintingPageOrder {
+ (NSPrintOperation *)printOperationWithView:(NSView *)aView + (NSPrintOperation *)printOperationWithView:(NSView *)aView
printInfo:(NSPrintInfo *)aPrintInfo; printInfo:(NSPrintInfo *)aPrintInfo;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (NSPrintOperation *)PDFOperationWithView:(NSView *)aView + (NSPrintOperation *)PDFOperationWithView:(NSView *)aView
insideRect:(NSRect)rect insideRect:(NSRect)rect
toData:(NSMutableData *)data; toData:(NSMutableData *)data;
@ -124,7 +126,7 @@ typedef enum _NSPrintingPageOrder {
// //
- (BOOL)isEPSOperation; - (BOOL)isEPSOperation;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL)isCopyingOperation; - (BOOL)isCopyingOperation;
#endif #endif
@ -136,7 +138,7 @@ typedef enum _NSPrintingPageOrder {
- (void)setPrintPanel:(NSPrintPanel *)panel; - (void)setPrintPanel:(NSPrintPanel *)panel;
- (void)setShowPanels:(BOOL)flag; - (void)setShowPanels:(BOOL)flag;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSView *)accessoryView; - (NSView *)accessoryView;
- (void)setAccessoryView:(NSView *)aView; - (void)setAccessoryView:(NSView *)aView;
#endif #endif
@ -161,7 +163,7 @@ typedef enum _NSPrintingPageOrder {
- (void)cleanUpOperation; - (void)cleanUpOperation;
- (BOOL)deliverResult; - (BOOL)deliverResult;
- (BOOL)runOperation; - (BOOL)runOperation;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void)runOperationModalForWindow: (NSWindow *)docWindow - (void)runOperationModalForWindow: (NSWindow *)docWindow
delegate: (id)delegate delegate: (id)delegate
didRunSelector: (SEL)didRunSelector didRunSelector: (SEL)didRunSelector

View file

@ -26,7 +26,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
@ -90,7 +91,7 @@ enum {
// Running the Panel // Running the Panel
// //
- (int) runModal; - (int) runModal;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) beginSheetWithPrintInfo: (NSPrintInfo *)printInfo - (void) beginSheetWithPrintInfo: (NSPrintInfo *)printInfo
modalForWindow: (NSWindow *)docWindow modalForWindow: (NSWindow *)docWindow
delegate: (id)delegate delegate: (id)delegate

View file

@ -26,7 +26,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSPrinter #ifndef _GNUstep_H_NSPrinter
@ -48,7 +49,10 @@ typedef enum _NSPrinterTableStatus {
@interface NSPrinter : NSObject <NSCoding> @interface NSPrinter : NSObject <NSCoding>
{ {
NSString *_printerHost, *_printerName, *_printerNote, *_printerType; NSString *_printerHost;
NSString *_printerName;
NSString *_printerNote;
NSString *_printerType;
//The way openstep handled NSPrinter was odd, it had a concept of "real" //The way openstep handled NSPrinter was odd, it had a concept of "real"
//printers and //printers and

View file

@ -21,7 +21,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSProgressIndicator #ifndef _GNUstep_H_NSProgressIndicator
@ -100,7 +101,7 @@
@end @end
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSProgressIndicator (GNUstepExtensions) @interface NSProgressIndicator (GNUstepExtensions)
/* /*

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSResponder #ifndef _GNUstep_H_NSResponder
#define _GNUstep_H_NSResponder #define _GNUstep_H_NSResponder
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <AppKit/NSInterfaceStyle.h> #include <AppKit/NSInterfaceStyle.h>
@ -41,7 +43,7 @@
@interface NSResponder : NSObject <NSCoding> @interface NSResponder : NSObject <NSCoding>
{ {
#ifdef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
int _interface_style; int _interface_style;
#else #else
NSInterfaceStyle _interface_style; NSInterfaceStyle _interface_style;
@ -118,7 +120,7 @@
- (void) mouseMoved: (NSEvent*)theEvent; - (void) mouseMoved: (NSEvent*)theEvent;
- (void) mouseUp: (NSEvent*)theEvent; - (void) mouseUp: (NSEvent*)theEvent;
- (void) noResponderFor: (SEL)eventSelector; - (void) noResponderFor: (SEL)eventSelector;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) otherMouseDown: (NSEvent*)theEvent; - (void) otherMouseDown: (NSEvent*)theEvent;
- (void) otherMouseDragged: (NSEvent*)theEvent; - (void) otherMouseDragged: (NSEvent*)theEvent;
- (void) otherMouseUp: (NSEvent*)theEvent; - (void) otherMouseUp: (NSEvent*)theEvent;
@ -140,7 +142,7 @@
- (void) encodeWithCoder: (NSCoder*)aCoder; - (void) encodeWithCoder: (NSCoder*)aCoder;
- (id) initWithCoder: (NSCoder*)aDecoder; - (id) initWithCoder: (NSCoder*)aDecoder;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) interpretKeyEvents: (NSArray*)eventArray; - (void) interpretKeyEvents: (NSArray*)eventArray;
- (BOOL) performMnemonic: (NSString*)aString; - (BOOL) performMnemonic: (NSString*)aString;
- (void) flushBufferedKeyEvents; - (void) flushBufferedKeyEvents;
@ -175,7 +177,7 @@
#endif #endif
@end @end
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
@interface NSResponder (OptionalActionMethods) @interface NSResponder (OptionalActionMethods)
- (void) capitalizeWord: (id)sender; - (void) capitalizeWord: (id)sender;
- (void) centerSelectionInVisibleArea: (id)sender; - (void) centerSelectionInVisibleArea: (id)sender;

View file

@ -25,7 +25,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSRulerMarker #ifndef _GNUstep_H_NSRulerMarker
#define _GNUstep_H_NSRulerMarker #define _GNUstep_H_NSRulerMarker

View file

@ -27,7 +27,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSRulerView #ifndef _GNUstep_H_NSRulerView
#define _GNUstep_H_NSRulerView #define _GNUstep_H_NSRulerView

View file

@ -27,11 +27,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSSavePanel #ifndef _GNUstep_H_NSSavePanel
#define _GNUstep_H_NSSavePanel #define _GNUstep_H_NSSavePanel
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSPanel.h> #include <AppKit/NSPanel.h>
@ -104,7 +106,7 @@ enum {
- (void) setPrompt: (NSString *)prompt; - (void) setPrompt: (NSString *)prompt;
- (NSString *) prompt; - (NSString *) prompt;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setNameFieldLabel: (NSString *)label; - (void) setNameFieldLabel: (NSString *)label;
- (NSString *) nameFieldLabel; - (NSString *) nameFieldLabel;
- (void) setMessage: (NSString *)message; - (void) setMessage: (NSString *)message;
@ -126,7 +128,7 @@ enum {
- (void) setDirectory: (NSString *)path; - (void) setDirectory: (NSString *)path;
- (void) setRequiredFileType: (NSString *)fileType; - (void) setRequiredFileType: (NSString *)fileType;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setAllowedFileTypes: (NSArray *)types; - (void) setAllowedFileTypes: (NSArray *)types;
- (void) setAllowsOtherFileTypes: (BOOL)flag; - (void) setAllowsOtherFileTypes: (BOOL)flag;
- (NSArray *) allowedFileTypes; - (NSArray *) allowedFileTypes;
@ -138,7 +140,7 @@ enum {
- (void) validateVisibleColumns; - (void) validateVisibleColumns;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setCanCreateDirectories: (BOOL)flag; - (void) setCanCreateDirectories: (BOOL)flag;
- (BOOL) canCreateDirectories; - (BOOL) canCreateDirectories;
#endif #endif
@ -149,7 +151,7 @@ enum {
- (int) runModalForDirectory: (NSString *)path file: (NSString *)filename; - (int) runModalForDirectory: (NSString *)path file: (NSString *)filename;
- (int) runModal; - (int) runModal;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (int) runModalForDirectory: (NSString *)path - (int) runModalForDirectory: (NSString *)path
file: (NSString *)filename file: (NSString *)filename
relativeToWindow: (NSWindow*)window; relativeToWindow: (NSWindow*)window;
@ -166,7 +168,7 @@ enum {
*/ */
- (NSString *) directory; - (NSString *) directory;
- (NSString *) filename; - (NSString *) filename;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSURL *) URL; - (NSURL *) URL;
- (BOOL) isExpanded; - (BOOL) isExpanded;
#endif #endif
@ -211,7 +213,7 @@ enum {
userEnteredFilename: (NSString *)fileName userEnteredFilename: (NSString *)fileName
confirmed: (BOOL)okFlag; confirmed: (BOOL)okFlag;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) panel: (id)sender willExpand: (BOOL)expanding; - (void) panel: (id)sender willExpand: (BOOL)expanding;
- (void) panelSelectionDidChange: (id)sender; - (void) panelSelectionDidChange: (id)sender;
- (void) panel: (id)sender directoryDidChange: (NSString *)path; - (void) panel: (id)sender directoryDidChange: (NSString *)path;

View file

@ -27,11 +27,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSScreen #ifndef _GNUstep_H_NSScreen
#define _GNUstep_H_NSScreen #define _GNUstep_H_NSScreen
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h> #include <Foundation/NSObject.h>
#include <AppKit/NSGraphics.h> #include <AppKit/NSGraphics.h>
@ -63,11 +65,11 @@
- (NSRect) frame; - (NSRect) frame;
- (NSDictionary*) deviceDescription; - (NSDictionary*) deviceDescription;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (const NSWindowDepth*) supportedWindowDepths; - (const NSWindowDepth*) supportedWindowDepths;
- (NSRect) visibleFrame; - (NSRect) visibleFrame;
#endif #endif
#ifndef NO_GNUSTEP #if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
- (int) screenNumber; - (int) screenNumber;
#endif #endif

View file

@ -23,11 +23,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSScrollView #ifndef _GNUstep_H_NSScrollView
#define _GNUstep_H_NSScrollView #define _GNUstep_H_NSScrollView
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSView.h> #include <AppKit/NSView.h>
@ -121,7 +123,7 @@
- (float)pageScroll; - (float)pageScroll;
- (void)setScrollsDynamically:(BOOL)flag; - (void)setScrollsDynamically:(BOOL)flag;
- (BOOL)scrollsDynamically; - (BOOL)scrollsDynamically;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (float) horizontalLineScroll; - (float) horizontalLineScroll;
- (float) horizontalPageScroll; - (float) horizontalPageScroll;
- (float) verticalLineScroll; - (float) verticalLineScroll;

View file

@ -24,11 +24,13 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSScroller #ifndef _GNUstep_H_NSScroller
#define _GNUstep_H_NSScroller #define _GNUstep_H_NSScroller
#import <GNUstepBase/GSVersionMacros.h>
#include <AppKit/NSControl.h> #include <AppKit/NSControl.h>
#include <AppKit/NSCell.h> #include <AppKit/NSCell.h>
@ -114,7 +116,7 @@ typedef enum _NSScrollerArrow {
- (void)trackKnob:(NSEvent *)theEvent; - (void)trackKnob:(NSEvent *)theEvent;
- (void)trackScrollButtons:(NSEvent *)theEvent; - (void)trackScrollButtons:(NSEvent *)theEvent;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (float)scrollerWidthForControlSize:(NSControlSize)controlSize; + (float)scrollerWidthForControlSize:(NSControlSize)controlSize;
- (void)setControlSize:(NSControlSize)controlSize; - (void)setControlSize:(NSControlSize)controlSize;
- (NSControlSize)controlSize; - (NSControlSize)controlSize;

View file

@ -23,7 +23,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSSearchField #ifndef _GNUstep_H_NSSearchField

View file

@ -23,7 +23,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSSearchFieldCell #ifndef _GNUstep_H_NSSearchFieldCell

View file

@ -23,7 +23,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSSecureTextField #ifndef _GNUstep_H_NSSecureTextField

View file

@ -23,7 +23,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSSelection #ifndef _GNUstep_H_NSSelection

View file

@ -20,7 +20,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSSlider #ifndef _GNUstep_H_NSSlider
@ -65,7 +66,7 @@
// mouse handling // mouse handling
- (BOOL) acceptsFirstMouse: (NSEvent*)theEvent; - (BOOL) acceptsFirstMouse: (NSEvent*)theEvent;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
// ticks // ticks
- (BOOL) allowsTickMarkValuesOnly; - (BOOL) allowsTickMarkValuesOnly;
- (double) closestTickMarkValueToValue: (double)aValue; - (double) closestTickMarkValueToValue: (double)aValue;

View file

@ -20,7 +20,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free License along with this library; if not, write to the Free
Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111 USA. Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02111 USA.
*/ */
#ifndef _GNUstep_H_NSSliderCell #ifndef _GNUstep_H_NSSliderCell
@ -92,7 +93,7 @@ typedef enum _NSTickMarkPosition
- (void) setMinValue: (double)aDouble; - (void) setMinValue: (double)aDouble;
- (void) setMaxValue: (double)aDouble; - (void) setMaxValue: (double)aDouble;
#ifndef STRICT_OPENSTEP #if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
// ticks // ticks
- (BOOL) allowsTickMarkValuesOnly; - (BOOL) allowsTickMarkValuesOnly;
- (double) closestTickMarkValueToValue: (double)aValue; - (double) closestTickMarkValueToValue: (double)aValue;

View file

@ -23,7 +23,8 @@
You should have received a copy of the GNU Library General Public You should have received a copy of the GNU Library General Public
License along with this library; see the file COPYING.LIB. License along with this library; see the file COPYING.LIB.
If not, write to the Free Software Foundation, If not, write to the Free Software Foundation,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/ */
#ifndef _GNUstep_H_NSSound #ifndef _GNUstep_H_NSSound

Some files were not shown because too many files have changed in this diff Show more