Header tidyups, particularly updating of version compatibility macros.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@24000 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2006-10-31 07:05:46 +00:00
parent 39944dd5e9
commit 57a828c7c7
113 changed files with 884 additions and 641 deletions

119
ChangeLog
View file

@ -1,3 +1,122 @@
2006-10-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m:
* Source/NSRunLoop.m:
* Source/NSDebug.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/NSPort.m:
* Source/NSConcreteNumber.h:
* Source/win32/GSRunLoopCtxt.m:
* Source/NSThread.m:
* Source/NSSerializer.m:
* Documentation/Base.gsdoc:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSRange.h:
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSByteOrder.h:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSKeyValueCoding.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSNotificationQueue.h:
* Headers/Foundation/NSGeometry.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSDecimal.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSFormatter.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSClassDescription.h:
* Headers/Foundation/NSNull.h:
* Headers/Foundation/NSZone.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSDistantObject.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/Foundation.h:
* Headers/Foundation/NSCharacterSet.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSUtilities.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Additions/GNUstepBase/GSXML.h:
* Headers/Additions/GNUstepBase/behavior.h:
* Headers/Additions/GNUstepBase/GSFunctions.h:
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
* Headers/Additions/GNUstepBase/GSIMap.h:
* Headers/Additions/GNUstepBase/GSIArray.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/Unicode.h:
Ensure all headers have up to date version macros included.
Update to remove obsolete version macro information.
Tidy FSF address for consistency.
Tidy per-heaader inclusion guard preprocessor definitions.
2006-10-30 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSUserDefaults.h:

View file

@ -99,27 +99,6 @@ notice and this notice are preserved.
<ref type="macro" id="GS_API_VERSION">GS_API_VERSION</ref>
macro.<br />
</desc>
<term>NO_GNUSTEP</term>
<desc>
GNUstep specific extensions to the OpenStep and MacOS cocoa
APIs are excluded from the headers.<br />
This is obsolete .. setting GS_OPENSTEP_V should exclude
GNUstep extensions.
</desc>
<term>STRICT_MACOS_X</term>
<desc>
Only methods and classes that are part of the oriignal MacOS
cocoa API are made available in the headers.<br />
This is obsolete .. setting GS_OPENSTEP_V to GS_API_MACOSX should
do this.
</desc>
<term>STRICT_OPENSTEP</term>
<desc>
Only methods and classes that are part of the OpenStep
specification are made available in the headers.<br />
This is obsolete .. setting GS_OPENSTEP_V to GS_API_OPENSTEP
should do this.
</desc>
</deflist>
<p>
<em>NB</em> These preprocessor constants are used in
@ -132,6 +111,11 @@ notice and this notice are preserved.
GNUstep API in place, so that the feature set is as consistent
as possible.
</p>
<p>
The presence of these macros is also used by autogsdoc to generate
information about which version of the API a particular feature
belongs to.
</p>
</subsect>
<subsect>
<heading>User defaults</heading>

View file

@ -28,6 +28,7 @@
#ifndef INCLUDED_GS_CATEGORIES_H
#define INCLUDED_GS_CATEGORIES_H
#include "GNUstepBase/GSVersionMacros.h"
/* The following ifndef prevents the categories declared in this file being
* seen in GNUstep code. This is necessary because those category
@ -48,7 +49,6 @@
#include "GNUstepBase/preface.h"
#include "GNUstepBase/GSObjCRuntime.h"
#include "GNUstepBase/GNUstep.h"
#include "GNUstepBase/GSVersionMacros.h"
#if defined(__cplusplus)
extern "C" {

View file

@ -22,7 +22,8 @@
You should have received a copy of the GNU Library General Public
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 included_GSConfig_h

View file

@ -26,11 +26,11 @@
#ifndef __GSFunctions_h_GNUSTEP_BASE_INCLUDE
#define __GSFunctions_h_GNUSTEP_BASE_INCLUDE
#include "GNUstepBase/GSVersionMacros.h"
#include "GNUstepBase/preface.h"
#include "GNUstepBase/GSObjCRuntime.h"
#include "GNUstepBase/GNUstep.h"
#include "GNUstepBase/GSVersionMacros.h"
#warning "deprecated header ... will be removed in a later release"

View file

@ -21,6 +21,10 @@
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02111 USA. */
#import <GNUstepBase/GSVersionMacros.h>
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
#include <Foundation/NSObject.h>
#include <Foundation/NSZone.h>
@ -28,8 +32,6 @@
extern "C" {
#endif
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
/* To easily un-inline functions for debugging */
#ifndef INLINE
#define INLINE inline
@ -552,9 +554,9 @@ GSIArrayCopyWithZone(GSIArray array, NSZone *zone)
return new;
}
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */
#if defined(__cplusplus)
}
#endif
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */

View file

@ -23,6 +23,10 @@
* Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
* Boston, MA 02111 USA. */
#import <GNUstepBase/GSVersionMacros.h>
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
#include <Foundation/NSObject.h>
#include <Foundation/NSZone.h>
@ -30,8 +34,6 @@
extern "C" {
#endif
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
/* To easily un-inline functions for debugging */
#ifndef INLINE
#define INLINE inline
@ -926,9 +928,9 @@ GSIMapInitWithZoneAndCapacity(GSIMapTable map, NSZone *zone, size_t capacity)
GSIMapMoreNodes(map, capacity);
}
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */
#if defined(__cplusplus)
}
#endif
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */

View file

@ -26,8 +26,11 @@
AutogsdocSource: Additions/GSMime.m
*/
#ifndef __GSMIME_H__
#define __GSMIME_H__
#ifndef __GSMime_h_GNUSTEP_BASE_INCLUDE
#define __GSMime_h_GNUSTEP_BASE_INCLUDE
#include <GNUstepBase/GSVersionMacros.h>
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
#ifdef NeXT_Foundation_LIBRARY
#include <Foundation/Foundation.h>
@ -40,8 +43,6 @@
extern "C" {
#endif
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
@class NSArray;
@class NSMutableArray;
@class NSData;
@ -231,10 +232,10 @@ extern "C" {
- (void) setIsHttp;
@end
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */
#if defined(__cplusplus)
}
#endif
#endif
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */
#endif /* __GSMime_h_GNUSTEP_BASE_INCLUDE */

View file

@ -29,6 +29,7 @@
#ifndef __GSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
#define __GSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
#include <GNUstepBase/GSVersionMacros.h>
#include <objc/objc.h>
#include <objc/objc-api.h>
@ -39,8 +40,6 @@ extern "C" {
#include <stdarg.h>
#include <GNUstepBase/GSVersionMacros.h>
#ifdef GNUSTEP_WITH_DLL
#if BUILD_libgnustep_base_DLL

View file

@ -32,8 +32,11 @@
*/
#ifndef __GSXML_H__
#define __GSXML_H__
#ifndef __GSXML_h_GNUSTEP_BASE_INCLUDE
#define __GSXML_h_GNUSTEP_BASE_INCLUDE
#include <GNUstepBase/GSVersionMacros.h>
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
#ifndef NeXT_Foundation_LIBRARY
#include <Foundation/NSObject.h>
@ -47,8 +50,6 @@
extern "C" {
#endif
#if OS_API_VERSION(GS_API_NONE,GS_API_NONE)
@class GSXMLAttribute;
@class GSXMLDocument;
@class GSXMLNamespace;
@ -743,11 +744,11 @@ extern "C" {
- (void) completedXMLRPC: (GSXMLRPC*)sender;
@end
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */
#if defined(__cplusplus)
}
#endif
#endif /* __GSXML_H__ */
#endif /* OS_API_VERSION(GS_API_NONE,GS_API_NONE) */
#endif /* __GSXML_h_GNUSTEP_BASE_INCLUDE */

View file

@ -31,6 +31,7 @@
#ifndef __Unicode_h_OBJECTS_INCLUDE
#define __Unicode_h_OBJECTS_INCLUDE
#include <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSString.h> /* For string encodings */

View file

@ -27,9 +27,9 @@
#ifndef __behavior_h_GNUSTEP_BASE_INCLUDE
#define __behavior_h_GNUSTEP_BASE_INCLUDE
#include <GNUstepBase/GSVersionMacros.h>
#include <GNUstepBase/GSObjCRuntime.h>
#include <GNUstepBase/GSVersionMacros.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -27,93 +27,96 @@
#ifndef __Foundation_h_GNUSTEP_BASE_INCLUDE
#define __Foundation_h_GNUSTEP_BASE_INCLUDE
#include <Foundation/NSObjCRuntime.h>
#include <GSConfig.h>
#include <Foundation/NSDebug.h>
#include <Foundation/NSObject.h>
#import <GNUstepBase/GSVersionMacros.h>
#import <objc/objc.h>
#include <Foundation/NSArchiver.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSAttributedString.h>
#include <Foundation/NSAutoreleasePool.h>
#include <Foundation/NSBundle.h>
#include <Foundation/NSByteOrder.h>
#include <Foundation/NSCalendarDate.h>
#include <Foundation/NSCharacterSet.h>
#include <Foundation/NSClassDescription.h>
#include <Foundation/NSCoder.h>
#include <Foundation/NSComparisonPredicate.h>
#include <Foundation/NSCompoundPredicate.h>
#include <Foundation/NSConnection.h>
#include <Foundation/NSData.h>
#include <Foundation/NSDateFormatter.h>
#include <Foundation/NSDate.h>
#include <Foundation/NSDecimalNumber.h>
#include <Foundation/NSDictionary.h>
#include <Foundation/NSDistantObject.h>
#include <Foundation/NSDistributedLock.h>
#include <Foundation/NSDistributedNotificationCenter.h>
#include <Foundation/NSEnumerator.h>
#include <Foundation/NSError.h>
#include <Foundation/NSException.h>
#include <Foundation/NSExpression.h>
#include <Foundation/NSFileHandle.h>
#include <Foundation/NSFileManager.h>
#include <Foundation/NSFormatter.h>
#include <Foundation/NSGeometry.h>
#include <Foundation/NSHashTable.h>
#include <Foundation/NSHost.h>
#include <Foundation/NSHTTPCookie.h>
#include <Foundation/NSHTTPCookieStorage.h>
#include <Foundation/NSIndexPath.h>
#include <Foundation/NSIndexSet.h>
#include <Foundation/NSInvocation.h>
#include <Foundation/NSKeyedArchiver.h>
#include <Foundation/NSKeyValueCoding.h>
#include <Foundation/NSLock.h>
#include <Foundation/NSMapTable.h>
#include <Foundation/NSMethodSignature.h>
#include <Foundation/NSNotification.h>
#include <Foundation/NSNotificationQueue.h>
#include <Foundation/NSNull.h>
#include <Foundation/NSNumberFormatter.h>
#include <Foundation/NSPathUtilities.h>
#include <Foundation/NSPortCoder.h>
#include <Foundation/NSPortMessage.h>
#include <Foundation/NSPortNameServer.h>
#include <Foundation/NSPredicate.h>
#include <Foundation/NSProcessInfo.h>
#include <Foundation/NSProtocolChecker.h>
#include <Foundation/NSProxy.h>
#include <Foundation/NSRange.h>
#include <Foundation/NSRunLoop.h>
#include <Foundation/NSScanner.h>
#include <Foundation/NSSerialization.h>
#include <Foundation/NSSet.h>
#include <Foundation/NSSortDescriptor.h>
#include <Foundation/NSStream.h>
#include <Foundation/NSString.h>
#include <Foundation/NSTask.h>
#include <Foundation/NSThread.h>
#include <Foundation/NSTimer.h>
#include <Foundation/NSTimeZone.h>
#include <Foundation/NSUndoManager.h>
#include <Foundation/NSURLAuthenticationChallenge.h>
#include <Foundation/NSURLCache.h>
#include <Foundation/NSURLConnection.h>
#include <Foundation/NSURLCredential.h>
#include <Foundation/NSURLCredentialStorage.h>
#include <Foundation/NSURLDownload.h>
#include <Foundation/NSURLError.h>
#include <Foundation/NSURL.h>
#include <Foundation/NSURLHandle.h>
#include <Foundation/NSURLProtectionSpace.h>
#include <Foundation/NSURLProtocol.h>
#include <Foundation/NSURLRequest.h>
#include <Foundation/NSURLResponse.h>
#include <Foundation/NSUserDefaults.h>
#include <Foundation/NSValue.h>
#include <Foundation/NSXMLParser.h>
#include <Foundation/NSZone.h>
#import <Foundation/NSObjCRuntime.h>
#import <GSConfig.h>
#import <Foundation/NSDebug.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSArchiver.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSAttributedString.h>
#import <Foundation/NSAutoreleasePool.h>
#import <Foundation/NSBundle.h>
#import <Foundation/NSByteOrder.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSCharacterSet.h>
#import <Foundation/NSClassDescription.h>
#import <Foundation/NSCoder.h>
#import <Foundation/NSComparisonPredicate.h>
#import <Foundation/NSCompoundPredicate.h>
#import <Foundation/NSConnection.h>
#import <Foundation/NSData.h>
#import <Foundation/NSDateFormatter.h>
#import <Foundation/NSDate.h>
#import <Foundation/NSDecimalNumber.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSDistantObject.h>
#import <Foundation/NSDistributedLock.h>
#import <Foundation/NSDistributedNotificationCenter.h>
#import <Foundation/NSEnumerator.h>
#import <Foundation/NSError.h>
#import <Foundation/NSException.h>
#import <Foundation/NSExpression.h>
#import <Foundation/NSFileHandle.h>
#import <Foundation/NSFileManager.h>
#import <Foundation/NSFormatter.h>
#import <Foundation/NSGeometry.h>
#import <Foundation/NSHashTable.h>
#import <Foundation/NSHost.h>
#import <Foundation/NSHTTPCookie.h>
#import <Foundation/NSHTTPCookieStorage.h>
#import <Foundation/NSIndexPath.h>
#import <Foundation/NSIndexSet.h>
#import <Foundation/NSInvocation.h>
#import <Foundation/NSKeyedArchiver.h>
#import <Foundation/NSKeyValueCoding.h>
#import <Foundation/NSLock.h>
#import <Foundation/NSMapTable.h>
#import <Foundation/NSMethodSignature.h>
#import <Foundation/NSNotification.h>
#import <Foundation/NSNotificationQueue.h>
#import <Foundation/NSNull.h>
#import <Foundation/NSNumberFormatter.h>
#import <Foundation/NSPathUtilities.h>
#import <Foundation/NSPortCoder.h>
#import <Foundation/NSPortMessage.h>
#import <Foundation/NSPortNameServer.h>
#import <Foundation/NSPredicate.h>
#import <Foundation/NSProcessInfo.h>
#import <Foundation/NSProtocolChecker.h>
#import <Foundation/NSProxy.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSRunLoop.h>
#import <Foundation/NSScanner.h>
#import <Foundation/NSSerialization.h>
#import <Foundation/NSSet.h>
#import <Foundation/NSSortDescriptor.h>
#import <Foundation/NSStream.h>
#import <Foundation/NSString.h>
#import <Foundation/NSTask.h>
#import <Foundation/NSThread.h>
#import <Foundation/NSTimer.h>
#import <Foundation/NSTimeZone.h>
#import <Foundation/NSUndoManager.h>
#import <Foundation/NSURLAuthenticationChallenge.h>
#import <Foundation/NSURLCache.h>
#import <Foundation/NSURLConnection.h>
#import <Foundation/NSURLCredential.h>
#import <Foundation/NSURLCredentialStorage.h>
#import <Foundation/NSURLDownload.h>
#import <Foundation/NSURLError.h>
#import <Foundation/NSURL.h>
#import <Foundation/NSURLHandle.h>
#import <Foundation/NSURLProtectionSpace.h>
#import <Foundation/NSURLProtocol.h>
#import <Foundation/NSURLRequest.h>
#import <Foundation/NSURLResponse.h>
#import <Foundation/NSUserDefaults.h>
#import <Foundation/NSValue.h>
#import <Foundation/NSXMLParser.h>
#import <Foundation/NSZone.h>
#endif /* __Foundation_h_GNUSTEP_BASE_INCLUDE */

View file

@ -28,8 +28,9 @@
#ifndef __NSArchiver_h_GNUSTEP_BASE_INCLUDE
#define __NSArchiver_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h>
#import <Foundation/NSCoder.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -24,9 +24,10 @@
#ifndef __NSArray_h_GNUSTEP_BASE_INCLUDE
#define __NSArray_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSRange.h>
#include <Foundation/NSUtilities.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSUtilities.h>
#if defined(__cplusplus)
extern "C" {
@ -40,7 +41,7 @@ extern "C" {
+ (id) array;
+ (id) arrayWithArray: (NSArray*)array;
+ (id) arrayWithContentsOfFile: (NSString*)file;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (id) arrayWithContentsOfURL: (NSURL*)aURL;
#endif
+ (id) arrayWithObject: (id)anObject;
@ -59,11 +60,11 @@ extern "C" {
- (unsigned) indexOfObjectIdenticalTo: (id)anObject inRange: (NSRange)aRange;
- (id) init;
- (id) initWithArray: (NSArray*)array;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id) initWithArray: (NSArray*)array copyItems: (BOOL)shouldCopy;
#endif
- (id) initWithContentsOfFile: (NSString*)file;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id) initWithContentsOfURL: (NSURL*)aURL;
#endif
- (id) initWithObjects: firstObject, ...;
@ -75,11 +76,11 @@ extern "C" {
- (id) firstObjectCommonWithArray: (NSArray*)otherArray;
- (BOOL) isEqualToArray: (NSArray*)otherArray;
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
- (void) makeObjectsPerform: (SEL)aSelector;
- (void) makeObjectsPerform: (SEL)aSelector withObject: (id)argument;
#endif
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) makeObjectsPerformSelector: (SEL)aSelector;
- (void) makeObjectsPerformSelector: (SEL)aSelector withObject: (id)arg;
#endif
@ -105,7 +106,7 @@ extern "C" {
indent: (unsigned int)level;
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)useAuxiliaryFile;
- (id) valueForKey: (NSString*)key;
#endif
@ -118,7 +119,7 @@ extern "C" {
- (void) addObject: (id)anObject; // Primitive
- (void) addObjectsFromArray: (NSArray*)otherArray;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) exchangeObjectAtIndex: (unsigned int)i1
withObjectAtIndex: (unsigned int)i2;
#endif
@ -149,7 +150,7 @@ extern "C" {
context: (void*)context;
- (void) sortUsingSelector: (SEL)comparator;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setValue: (id)value forKey: (NSString*)key;
#endif

View file

@ -45,18 +45,21 @@
*/
#ifndef _NSAttributedString_H
#define _NSAttributedString_H
#ifndef __NSAttributedString_h_GNUSTEP_BASE_INCLUDE
#define __NSAttributedString_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef STRICT_OPENSTEP
#include <Foundation/NSString.h>
#include <Foundation/NSDictionary.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSCoder.h>
#import <Foundation/NSObject.h>
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#import <Foundation/NSString.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSCoder.h>
@interface NSAttributedString : NSObject <NSCoding, NSCopying, NSMutableCopying>
{
@ -125,7 +128,7 @@ extern "C" {
@end //NSMutableAttributedString
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSAttributedString (GSCategories)
/**
* Dep[recated synonym for attributedSubstringFromRange:
@ -135,11 +138,11 @@ extern "C" {
@end
#endif
#endif //STRICT_OPENSTEP
#endif /* GS_API_MACOSX */
#if defined(__cplusplus)
}
#endif
#endif //NSAttributedString_H
#endif /* __NSAttributedString_h_GNUSTEP_BASE_INCLUDE */

View file

@ -24,8 +24,9 @@
#ifndef __NSAutoreleasePool_h_GNUSTEP_BASE_INCLUDE
#define __NSAutoreleasePool_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -227,7 +228,7 @@ typedef struct autorelease_array_list
*/
- (id) retain;
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* <p>
* Counts the number of times that the specified object occurs

View file

@ -27,13 +27,14 @@
#ifndef __NSBundle_h_GNUSTEP_BASE_INCLUDE
#define __NSBundle_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#if defined(__cplusplus)
extern "C" {
#endif
#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSString.h>
@class NSString;
@class NSArray;
@ -306,7 +307,7 @@ GS_EXPORT NSString* const NSLoadedClasses;
/** Set the bundle version */
- (void) setBundleVersion: (unsigned)version;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Returns subarray of given array containing those localizations that are
* used to locate resources given environment and user preferences.
@ -378,7 +379,7 @@ GS_EXPORT NSString* const NSLoadedClasses;
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Augments [NSBundle], including methods for handling libraries in the GNUstep
* fashion, for rapid localization, and other purposes.
@ -497,14 +498,14 @@ GS_EXPORT NSString* const NSLoadedClasses;
#define NSLocalizedStringFromTableInBundle(key, tbl, bundle, comment) \
[bundle localizedStringForKey:(key) value:@"" table:(tbl)]
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
#define NSLocalizedStringFromTableInFramework(key, tbl, fpth, comment) \
[[NSBundle mainBundle] localizedStringForKey:(key) value:@"" \
table: [bundle pathForGNUstepResource:(tbl) ofType: nil inDirectory: (fpth)]
#endif /* GNUSTEP */
/* Now Support for Quick Localization */
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/* The quickest possible way to localize a string:
@ -647,7 +648,7 @@ GS_EXPORT NSString* const NSLoadedClasses;
*/
#define NSLocalizedStaticString(key, comment) key
#endif /* NO_GNUSTEP */
#endif /* GS_API_NONE */
#if defined(__cplusplus)
}

View file

@ -24,6 +24,7 @@
#ifndef __NSByteOrder_h_GNUSTEP_BASE_INCLUDE
#define __NSByteOrder_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <GSConfig.h>

View file

@ -21,8 +21,9 @@
#ifndef __NSCalendarDate_h_GNUSTEP_BASE_INCLUDE
#define __NSCalendarDate_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSDate.h>
#import <Foundation/NSDate.h>
#if defined(__cplusplus)
extern "C" {
@ -100,16 +101,16 @@ extern "C" {
// Getting and Setting Time Zones
- (void) setTimeZone: (NSTimeZone*)aTimeZone;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSTimeZone*) timeZone;
#endif
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
- (NSTimeZoneDetail*) timeZoneDetail;
#endif
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Adds <code>-weekOfYear</code> method.
@ -141,7 +142,7 @@ extern "C" {
#endif
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
@interface NSCalendarDate (OPENSTEP)
- (NSCalendarDate*) dateByAddingYears: (int)years

View file

@ -24,8 +24,10 @@
#ifndef __NSCharacterSet_h_GNUSTEP_BASE_INCLUDE
#define __NSCharacterSet_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSString.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSString.h>
#if defined(__cplusplus)
extern "C" {
@ -46,7 +48,7 @@ extern "C" {
*/
+ (NSCharacterSet*) alphanumericCharacterSet;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Returns a character set containing letters in the unicode
* Titlecase category.
@ -101,7 +103,7 @@ extern "C" {
*/
+ (NSCharacterSet*) punctuationCharacterSet;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Returns a character set containing mathematical symbols, etc..
*/
@ -144,7 +146,7 @@ extern "C" {
*/
+ (NSCharacterSet*) characterSetWithRange: (NSRange)aRange;
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
/**
* Initializes from a bitmap (8192 bytes representing 65536 values).<br />
* Each bit set in the bitmap represents the fact that a character at
@ -168,7 +170,7 @@ extern "C" {
*/
- (BOOL) characterIsMember: (unichar)aCharacter;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Returns YES if the receiver contains at least one character in the
* specified unicode plane.
@ -182,7 +184,7 @@ extern "C" {
*/
- (NSCharacterSet*) invertedSet;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Returns YES is all the characters in aSet are present in the receiver.
*/

View file

@ -24,15 +24,16 @@
#ifndef __NSClassDescription_h_GNUSTEP_BASE_INCLUDE
#define __NSClassDescription_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSException.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSException.h>
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
@class NSArray;
@class NSDictionary;

View file

@ -18,16 +18,17 @@
You should have received a copy of the GNU Library General Public
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 __NSCoder_h_GNUSTEP_BASE_INCLUDE
#define __NSCoder_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSGeometry.h>
#include <Foundation/NSZone.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
#import <Foundation/NSZone.h>
#if defined(__cplusplus)
extern "C" {
@ -223,7 +224,7 @@ extern "C" {
*/
- (unsigned int) versionForClassName: (NSString*)className;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/*
* Include GSConfig.h for typedefs/defines of uint8_t, int32_t int64_t
*/

View file

@ -24,9 +24,10 @@
#ifndef __NSComparisonPredicate_h_GNUSTEP_BASE_INCLUDE
#define __NSComparisonPredicate_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSExpression.h>
#include <Foundation/NSPredicate.h>
#import <Foundation/NSExpression.h>
#import <Foundation/NSPredicate.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -24,8 +24,9 @@
#ifndef __NSCompoundPredicate_h_GNUSTEP_BASE_INCLUDE
#define __NSCompoundPredicate_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSPredicate.h>
#import <Foundation/NSPredicate.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -19,19 +19,20 @@
You should have received a copy of the GNU Library General Public
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 __NSConnection_h_GNUSTEP_BASE_INCLUDE
#define __NSConnection_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSDictionary.h>
#include <Foundation/NSString.h>
#include <Foundation/NSTimer.h>
#include <Foundation/NSRunLoop.h>
#include <Foundation/NSMapTable.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSString.h>
#import <Foundation/NSTimer.h>
#import <Foundation/NSRunLoop.h>
#import <Foundation/NSMapTable.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,22 +18,23 @@
You should have received a copy of the GNU Library General Public
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 __NSData_h_GNUSTEP_BASE_INCLUDE
#define __NSData_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSRange.h>
#include <Foundation/NSSerialization.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#import <Foundation/NSSerialization.h>
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
@class NSURL;
#endif
@ -46,14 +47,14 @@ extern "C" {
length: (unsigned int)length;
+ (id) dataWithBytesNoCopy: (void*)bytes
length: (unsigned int)length;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (id) dataWithBytesNoCopy: (void*)aBuffer
length: (unsigned int)bufferSize
freeWhenDone: (BOOL)shouldFree;
#endif
+ (id) dataWithContentsOfFile: (NSString*)path;
+ (id) dataWithContentsOfMappedFile: (NSString*)path;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (id) dataWithContentsOfURL: (NSURL*)url;
#endif
+ (id) dataWithData: (NSData*)data;
@ -61,14 +62,14 @@ extern "C" {
length: (unsigned int)bufferSize;
- (id) initWithBytesNoCopy: (void*)aBuffer
length: (unsigned int)bufferSize;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id) initWithBytesNoCopy: (void*)aBuffer
length: (unsigned int)bufferSize
freeWhenDone: (BOOL)shouldFree;
#endif
- (id) initWithContentsOfFile: (NSString*)path;
- (id) initWithContentsOfMappedFile: (NSString*)path;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id) initWithContentsOfURL: (NSURL*)url;
#endif
- (id) initWithData: (NSData*)data;
@ -94,7 +95,7 @@ extern "C" {
- (BOOL) writeToFile: (NSString*)path
atomically: (BOOL)useAuxiliaryFile;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL) writeToURL: (NSURL*)anURL atomically: (BOOL)flag;
#endif
@ -119,7 +120,7 @@ extern "C" {
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Extension methods for the NSData class- mainly conversion utilities.
@ -298,7 +299,7 @@ extern "C" {
- (void) replaceBytesInRange: (NSRange)aRange
withBytes: (const void*)bytes;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) replaceBytesInRange: (NSRange)aRange
withBytes: (const void*)bytes
length: (unsigned int)length;
@ -323,7 +324,7 @@ extern "C" {
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSMutableData (GNUstepExtensions)
/*

View file

@ -15,14 +15,15 @@
You should have received a copy of the GNU Library General Public
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 __NSDate_h_GNUSTEP_BASE_INCLUDE
#define __NSDate_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObjCRuntime.h>
#import <Foundation/NSObjCRuntime.h>
#if defined(__cplusplus)
extern "C" {
@ -43,7 +44,7 @@ typedef double NSTimeInterval;
*/
GS_EXPORT const NSTimeInterval NSTimeIntervalSince1970;
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
@class NSArray;
@class NSCalendarDate;
@ -106,7 +107,7 @@ GS_EXPORT const NSTimeInterval NSTimeIntervalSince1970;
- (BOOL) isEqualToDate: (NSDate*)other;
- (NSDate*) laterDate: (NSDate*)otherDate;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (id) dateWithNaturalLanguageString: (NSString*)string;
+ (id) dateWithNaturalLanguageString: (NSString*)string
locale: (NSDictionary*)locale;

View file

@ -19,16 +19,17 @@
You should have received a copy of the GNU Library General Public
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 __NSDateFormatter_h_GNUSTEP_BASE_INCLUDE
#define __NSDateFormatter_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <Foundation/NSFormatter.h>
#import <Foundation/NSFormatter.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -20,15 +20,16 @@
You should have received a copy of the GNU Library General Public
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 __NSDebug_h_GNUSTEP_BASE_INCLUDE
#define __NSDebug_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <errno.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
@ -211,8 +212,8 @@ GS_EXPORT BOOL NSDeallocateZombies;
#ifdef GSDIAGNOSE
#include <Foundation/NSObjCRuntime.h>
#include <Foundation/NSProcessInfo.h>
#import <Foundation/NSObjCRuntime.h>
#import <Foundation/NSProcessInfo.h>
/**
<p>NSDebugLLog() is the basic debug logging macro used to display
@ -384,7 +385,7 @@ GS_EXPORT BOOL NSDeallocateZombies;
#ifdef GSWARN
#include <Foundation/NSObjCRuntime.h>
#import <Foundation/NSObjCRuntime.h>
/**
<p>NSWarnLog() is the basic debug logging macro used to display

View file

@ -18,23 +18,25 @@
You should have received a copy of the GNU Library General Public
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 __NSDecimal_h_GNUSTEP_BASE_INCLUDE
#define __NSDecimal_h_GNUSTEP_BASE_INCLUDE
#ifndef STRICT_OPENSTEP
#import <GNUstepBase/GSVersionMacros.h>
#include <GSConfig.h>
#import <Foundation/NSObject.h>
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#if USE_GMP
#include <gmp.h>
#endif
#include <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,19 +18,19 @@
You should have received a copy of the GNU Library General Public
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 __NSDecimalNumber_h_GNUSTEP_BASE_INCLUDE
#define __NSDecimalNumber_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#ifndef STRICT_OPENSTEP
#include <Foundation/NSDecimal.h>
#include <Foundation/NSValue.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSDecimal.h>
#import <Foundation/NSValue.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,14 +18,15 @@
You should have received a copy of the GNU Library General Public
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 _NSDictionary_h_GNUSTEP_BASE_INCLUDE
#define _NSDictionary_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -36,7 +37,7 @@ extern "C" {
@interface NSDictionary : NSObject <NSCoding, NSCopying, NSMutableCopying>
+ (id) dictionary;
+ (id) dictionaryWithContentsOfFile: (NSString*)path;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (id) dictionaryWithContentsOfURL: (NSURL*)aURL;
#endif
+ (id) dictionaryWithDictionary: (NSDictionary*)otherDictionary;
@ -59,7 +60,7 @@ extern "C" {
- (id) init;
- (id) initWithContentsOfFile: (NSString*)path;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id) initWithContentsOfURL: (NSURL*)aURL;
#endif
- (id) initWithDictionary: (NSDictionary*)otherDictionary;
@ -78,7 +79,7 @@ extern "C" {
- (NSArray*) objectsForKeys: (NSArray*)keys notFoundMarker: (id)marker;
- (BOOL) writeToFile: (NSString*)path atomically: (BOOL)useAuxiliaryFile;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id) valueForKey: (NSString*)key;
- (BOOL) writeToURL: (NSURL*)url atomically: (BOOL)useAuxiliaryFile;
#endif
@ -95,7 +96,7 @@ extern "C" {
- (void) removeObjectsForKeys: (NSArray*)keyArray;
- (void) setObject: (id)anObject forKey: (id)aKey; // Primitive
- (void) setDictionary: (NSDictionary*)otherDictionary;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) takeStoredValue: (id)value forKey: (NSString*)key;
- (void) takeValue: (id)value forKey: (NSString*)key;
- (void) setValue: (id)value forKey: (NSString*)key;

View file

@ -19,14 +19,15 @@
You should have received a copy of the GNU Library General Public
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 __NSDistantObject_h_GNUSTEP_BASE_INCLUDE
#define __NSDistantObject_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSProxy.h>
#import <Foundation/NSProxy.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,16 +18,17 @@
You should have received a copy of the GNU Library General Public
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 __NSDistributedLock_h_GNUSTEP_BASE_INCLUDE
#define __NSDistributedLock_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <Foundation/NSDate.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSString.h>
#import <Foundation/NSDate.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,18 +18,19 @@
You should have received a copy of the GNU Library General Public
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 __NSDistributedNotificationCenter_h_GNUSTEP_BASE_INCLUDE
#define __NSDistributedNotificationCenter_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <Foundation/NSObject.h>
#include <Foundation/NSLock.h>
#include <Foundation/NSNotification.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSLock.h>
#import <Foundation/NSNotification.h>
#if defined(__cplusplus)
extern "C" {
@ -61,7 +62,7 @@ typedef enum {
* localhost current user broadcast only. This is the only type on OS X.
*/
GS_EXPORT NSString* const NSLocalNotificationCenterType;
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Type of [NSDistributedNotificationCenter+notificationCenterForType:] -

View file

@ -20,14 +20,15 @@
You should have received a copy of the GNU Library General Public
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 __NSEnumerator_h_GNUSTEP_BASE_INCLUDE
#define __NSEnumerator_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,17 +18,17 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSError.m
*/
#ifndef __NSError_h_GNUSTEP_BASE_INCLUDE
#define __NSError_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if OS_API_VERSION(100300,GS_API_LATEST)

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
<title>NSException and NSAssertionHandler class reference</title>
@ -30,8 +30,9 @@
#ifndef __NSException_h_GNUSTEP_BASE_INCLUDE
#define __NSException_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSString.h>
#import <Foundation/NSString.h>
#include <setjmp.h>
#include <stdarg.h>
@ -182,7 +183,7 @@ GS_EXPORT NSString* const NSRangeException;
*/
GS_EXPORT NSString* const NSCharacterConversionException;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* An exception used when some form of parsing fails.
*/

View file

@ -24,8 +24,9 @@
#ifndef __NSExpression_h_GNUSTEP_BASE_INCLUDE
#define __NSExpression_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSPredicate.h>
#import <Foundation/NSPredicate.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSFileHandle.m
AutogsdocSource: NSPipe.m
@ -27,15 +27,18 @@
#ifndef __NSFileHandle_h_GNUSTEP_BASE_INCLUDE
#define __NSFileHandle_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <Foundation/NSData.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#if defined(__cplusplus)
extern "C" {
#endif
@class NSData;
@class NSString;
@interface NSFileHandle : NSObject
// Allocating and Initializing a FileHandle Object
@ -164,7 +167,7 @@ GS_EXPORT NSString * const NSFileHandleOperationException;
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
// GNUstep class extensions

View file

@ -168,12 +168,13 @@
#ifndef __NSFileManager_h_GNUSTEP_BASE_INCLUDE
#define __NSFileManager_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#ifndef STRICT_OPENSTEP
#include <Foundation/NSUtilities.h>
#include <Foundation/NSDictionary.h>
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#import <Foundation/NSUtilities.h>
#import <Foundation/NSDictionary.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,17 +18,19 @@
You should have received a copy of the GNU Library General Public
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 __NSFormatter_h_GNUSTEP_BASE_INCLUDE
#define __NSFormatter_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSGeometry.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSGeometry.h>
#import <Foundation/NSRange.h>
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {

View file

@ -18,18 +18,17 @@
*
* You should have received a copy of the GNU Library General Public
* 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 __NSGeometry_h_GNUSTEP_BASE_INCLUDE
#define __NSGeometry_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
/**** Included Headers *******************************************************/
#import <objc/objc.h>
#include <objc/objc.h>
#ifdef __OBJC__
#include <Foundation/NSString.h>
#endif
#import <Foundation/NSString.h>
#if defined(__cplusplus)
extern "C" {
@ -64,7 +63,7 @@ struct _NSPoint
float y;
};
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** Array of NSPoint structs. */
typedef NSPoint *NSPointArray;
/** Pointer to NSPoint struct. */
@ -84,7 +83,7 @@ struct _NSSize
float height;
};
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** Array of NSSize structs. */
typedef NSSize *NSSizeArray;
/** Pointer to NSSize struct. */
@ -105,7 +104,7 @@ struct _NSRect
NSSize size;
};
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** Array of NSRect structs. */
typedef NSRect *NSRectArray;
/** Pointer to NSRect struct. */
@ -504,7 +503,7 @@ NSContainsRect(NSRect aRect, NSRect bRect)
&& (NSMaxY(aRect) >= NSMaxY(bRect))) ? YES : NO;
}
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
GS_GEOM_SCOPE BOOL
NSIntersectsRect(NSRect aRect, NSRect bRect) GS_GEOM_ATTR;

View file

@ -24,15 +24,16 @@
#ifndef __NSHTTPCookie_h_GNUSTEP_BASE_INCLUDE
#define __NSHTTPCookie_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSArray;
@class NSDate;
@class NSDictionary;
@ -246,10 +247,10 @@ extern NSString * const NSHTTPCookieVersion; /** Obtain cookie version */
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif /* 100200 */
#endif /* __NSHTTPCookie_h_GNUSTEP_BASE_INCLUDE */

View file

@ -24,15 +24,16 @@
#ifndef __NSHTTPCookieStorage_h_GNUSTEP_BASE_INCLUDE
#define __NSHTTPCookieStorage_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSArray;
@class NSHTTPCookie;
@class NSURL;
@ -118,10 +119,10 @@ extern NSString * const NSHTTPCookieManagerCookiesChangedNotification;
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif /* 100200 */
#endif /* __NSHTTPCookieStorage_h_GNUSTEP_BASE_INCLUDE */

View file

@ -21,18 +21,19 @@
*
* You should have received a copy of the GNU Library General Public
* 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, 02111 USA.
*/
#ifndef __NSHashTable_h_GNUSTEP_BASE_INCLUDE
#define __NSHashTable_h_GNUSTEP_BASE_INCLUDE 1
#import <GNUstepBase/GSVersionMacros.h>
/**** Included Headers *******************************************************/
#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <Foundation/NSArray.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSString.h>
#import <Foundation/NSArray.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,13 +18,14 @@
You should have received a copy of the GNU Library General Public
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 __NSHost_h_GNUSTEP_BASE_INCLUDE
#define __NSHost_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSIndexPath.m
@ -27,8 +27,9 @@
#ifndef _NSIndexPath_h_GNUSTEP_BASE_INCLUDE
#define _NSIndexPath_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSIndexSet.m
@ -27,11 +27,12 @@
#ifndef _NSIndexSet_h_GNUSTEP_BASE_INCLUDE
#define _NSIndexSet_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <Foundation/NSObject.h>
#include <Foundation/NSRange.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -19,14 +19,15 @@
You should have received a copy of the GNU Library General Public
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 __NSInvocation_h_GNUSTEP_BASE_INCLUDE
#define __NSInvocation_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSMethodSignature.h>
#import <Foundation/NSMethodSignature.h>
#if defined(__cplusplus)
extern "C" {
@ -40,7 +41,7 @@ extern "C" {
id _target;
SEL _selector;
unsigned int _numArgs;
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
NSArgumentInfo *_info;
#else
void *_dummy;
@ -94,7 +95,7 @@ extern "C" {
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSInvocation (GNUstep)
/**
* Returns the status of the flag set by -setSendsToSuper:

View file

@ -19,14 +19,15 @@
You should have received a copy of the GNU Library General Public
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 __NSKeyValueCoding_h_GNUSTEP_BASE_INCLUDE
#define __NSKeyValueCoding_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -38,7 +39,7 @@ extern "C" {
@class NSError;
@class NSString;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** An exception for an unknown key in [NSObject(NSKeyValueCoding)]. */
GS_EXPORT NSString* const NSUndefinedKeyException;

View file

@ -18,14 +18,15 @@
You should have received a copy of the GNU Library General Public
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 __NSKeyValueObserving_h_GNUSTEP_BASE_INCLUDE
#define __NSKeyValueObserving_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSKeyedArchiver.m
AutogsdocSource: NSKeyedUnarchiver.m
@ -28,16 +28,17 @@
#ifndef __NSKeyedArchiver_h_GNUSTEP_BASE_INCLUDE
#define __NSKeyedArchiver_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#if defined(__cplusplus)
extern "C" {
#endif
#include <Foundation/NSCoder.h>
#include <Foundation/NSMapTable.h>
#include <Foundation/NSPropertyList.h>
#import <Foundation/NSCoder.h>
#import <Foundation/NSMapTable.h>
#import <Foundation/NSPropertyList.h>
@class NSMutableDictionary, NSMutableData, NSData, NSString;
@ -568,5 +569,6 @@ willReplaceObject: (id)anObject
}
#endif
#endif /* STRICT_OPENSTEP */
#endif /* __NSKeyedArchiver_h_GNUSTEP_BASE_INCLUDE*/
#endif /* GS_API_MACOSX */
#endif /* __NSKeyedArchiver_h_GNUSTEP_BASE_INCLUDE */

View file

@ -29,10 +29,11 @@
Boston, MA 02111 USA.
*/
#ifndef _GNUstep_H_NSLock
#define _GNUstep_H_NSLock
#ifndef __NSLock_h_GNUSTEP_BASE_INCLUDE
#define __NSLock_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -201,7 +202,7 @@ extern "C" {
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Returns IDENT which will be initialized
@ -289,10 +290,11 @@ extern "C" {
+ (id) newLockAt: (id *)location;
@end
#endif /* NO_GNUSTEP */
#endif /* GS_API_NONE */
#if defined(__cplusplus)
}
#endif
#endif /* _GNUstep_H_NSLock*/
#endif /* __NSLock_h_GNUSTEP_BASE_INCLUDE */

View file

@ -21,17 +21,19 @@
*
* You should have received a copy of the GNU Library General Public
* 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 __NSMapTable_h_GNUSTEP_BASE_INCLUDE
#define __NSMapTable_h_GNUSTEP_BASE_INCLUDE 1
#import <GNUstepBase/GSVersionMacros.h>
/**** Included Headers *******************************************************/
#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <Foundation/NSArray.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSString.h>
#import <Foundation/NSArray.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -20,20 +20,21 @@
You should have received a copy of the GNU Library General Public
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 __NSMethodSignature_h_GNUSTEP_BASE_INCLUDE
#define __NSMethodSignature_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
/**
* <p>Info about layout of arguments.
* Extended from the original OpenStep version to let us know if the
@ -45,9 +46,9 @@ typedef struct {
int offset;
unsigned size;
const char *type;
unsigned align; // extension, available only ifndef NO_GNUSTEP
unsigned qual; // extension, available only ifndef NO_GNUSTEP
BOOL isReg; // extension, available only ifndef NO_GNUSTEP
unsigned align; // extension, available only in GNUSTEP
unsigned qual; // extension, available only in GNUSTEP
BOOL isReg; // extension, available only in GNUSTEP
} NSArgumentInfo;
</example>
* <p>NB. The offset and register information may not always be reliable.
@ -59,7 +60,7 @@ typedef struct {
int offset;
unsigned size;
const char *type;
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
unsigned align;
unsigned qual;
BOOL isReg;
@ -89,11 +90,15 @@ typedef struct {
const char *_methodTypes;
unsigned _argFrameLength;
unsigned _numArgs;
#ifdef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
NSArgumentInfo *_info;
#else
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
void *_info;
#else
NSArgumentInfo *_info;
#endif
#endif
}
/**
@ -102,7 +107,7 @@ typedef struct {
*/
+ (NSMethodSignature*) signatureWithObjCTypes: (const char*)t;
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
/**
* Returns full information on given argument. Indices start at 0. Provide
* -1 to get info on return value.
@ -152,7 +157,7 @@ typedef struct {
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Declares a convenience method for getting the entire array of raw type and
* size information.

View file

@ -19,8 +19,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSNotification.m
AutogsdocSource: NSNotificationCenter.m
@ -28,9 +28,10 @@
#ifndef __NSNotification_h_GNUSTEP_BASE_INCLUDE
#define __NSNotification_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSMapTable.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSMapTable.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -44,16 +44,19 @@
Boston, MA 02111 USA.
*/
#ifndef __NSNotificationQueue_h__
#define __NSNotificationQueue_h__
#ifndef __NSNotificationQueue_h_GNUSTEP_BASE_INCLUDE
#define __NSNotificationQueue_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSNotification.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
@class NSMutableArray;
@class NSArray;
@class NSNotification;
@class NSNotificationCenter;
/*
* Posting styles into notification queue
@ -134,4 +137,4 @@ struct _NSNotificationQueueList;
}
#endif
#endif /* __NSNotificationQueue_h__ */
#endif /* __NSNotificationQueue_h_GNUSTEP_BASE_INCLUDE */

View file

@ -18,23 +18,25 @@
You should have received a copy of the GNU Library General Public
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 __NSNull_h_GNUSTEP_BASE_INCLUDE
#define __NSNull_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
/*
* An object to use as a placeholder - in collections for instance.
*/
#ifndef NO_MACOS_X
#include <Foundation/NSObject.h>
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
/*
* An object to use as a placeholder - in collections for instance.
*/
@interface NSNull : NSObject <NSCoding, NSCopying>
+ (NSNull*) null;
@end
@ -43,6 +45,6 @@ extern "C" {
}
#endif
#endif
#endif /* GS_API_MACOSX */
#endif /* __NSNull_h_GNUSTEP_BASE_INCLUDE */
#endif /* __NSNull_h_GNUSTEP_BASE_INCLUDE */

View file

@ -19,18 +19,19 @@
You should have received a copy of the GNU Library General Public
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 _NSNumberFormatter_h__
#define _NSNumberFormatter_h__
#ifndef _NSNumberFormatter_h_GNUSTEP_BASE_INCLUDE
#define _NSNumberFormatter_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#include <Foundation/NSObject.h>
#include <Foundation/NSFormatter.h>
#include <Foundation/NSDecimalNumber.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSFormatter.h>
#import <Foundation/NSDecimalNumber.h>
#if defined(__cplusplus)
extern "C" {
@ -303,5 +304,7 @@ extern "C" {
}
#endif
#endif
#endif
#endif /* GS_API_MACOSX */
#endif /* _NSNumberFormatter_h_GNUSTEP_BASE_INCLUDE */

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSObjCRuntime.m
AutogsdocSource: NSLog.m
@ -28,8 +28,9 @@
#ifndef __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
#define __NSObjCRuntime_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <GNUstepBase/GSObjCRuntime.h>
#import <GNUstepBase/GSObjCRuntime.h>
#if defined(__cplusplus)
extern "C" {
@ -42,7 +43,7 @@ GS_EXPORT NSString *NSStringFromClass(Class aClass);
GS_EXPORT const char *NSGetSizeAndAlignment(const char *typePtr,
unsigned int *sizep, unsigned int *alignp);
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/* Logging */
/**
* OpenStep spec states that log messages go to stderr, but just in case

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSObject.m
AutogsdocSource: Additions/GSCategories.m
@ -27,18 +27,19 @@
#ifndef __NSObject_h_GNUSTEP_BASE_INCLUDE
#define __NSObject_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#import <Foundation/NSObjCRuntime.h>
#import <GNUstepBase/preface.h>
#include <GSConfig.h>
#include <objc/objc.h>
#include <objc/typedstream.h>
#import <Foundation/NSZone.h>
#if defined(__cplusplus)
extern "C" {
#endif
#include <Foundation/NSObjCRuntime.h>
#include <GNUstepBase/preface.h>
#include <GSConfig.h>
#include <objc/objc.h>
#include <objc/typedstream.h>
#include <Foundation/NSZone.h>
@class NSArchiver;
@class NSArray;
@class NSCoder;
@ -167,13 +168,13 @@ extern "C" {
Class isa;
}
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
#if GS_WITH_GC
+ (BOOL) requiresTypedMemory;
#endif
#endif
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (NSString*) className;
#endif
@ -288,7 +289,7 @@ NSComparisonResult;
enum {NSNotFound = 0x7fffffff};
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSObject (NEXTSTEP)
- error:(const char *)aString, ...;
@ -370,7 +371,7 @@ GS_EXPORT NSRecursiveLock *gnustep_global_lock;
- (void) gcFinalize;
@end
#include <Foundation/NSDate.h>
#import <Foundation/NSDate.h>
/**
* Declares some methods for sending messages to self after a fixed delay.
* (These methods <em>are</em> in OpenStep and OS X.)

View file

@ -26,16 +26,18 @@
#ifndef __NSPathUtilities_h_GNUSTEP_BASE_INCLUDE
#define __NSPathUtilities_h_GNUSTEP_BASE_INCLUDE
#include <Foundation/NSString.h>
#import <GNUstepBase/GSVersionMacros.h>
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef NO_GNUSTEP
@class NSDictionary;
@class NSMutableDictionary;
@class NSString;
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* This extension permits a change of username from that specified in the
* LOGNAME environment variable. Using it will almost certainly cause
@ -102,7 +104,7 @@ GS_EXPORT NSString *NSUserName(void);
GS_EXPORT NSString *NSHomeDirectory(void);
GS_EXPORT NSString *NSHomeDirectoryForUser(NSString *loginName);
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Enumeration of possible requested directory type specifiers for
* NSSearchPathForDirectoriesInDomains() function. These correspond to the
@ -176,7 +178,7 @@ GS_EXPORT NSArray *NSStandardApplicationPaths(void);
GS_EXPORT NSArray *NSStandardLibraryPaths(void);
GS_EXPORT NSString *NSTemporaryDirectory(void);
GS_EXPORT NSString *NSOpenStepRootDirectory(void);
#endif /* !STRICT_OPENSTEP */
#endif /* GS_API_MACOSX */
#if defined(__cplusplus)
}

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSPort.m
AutogsdocSource: NSSocketPort.m
@ -28,9 +28,10 @@
#ifndef __NSPort_h_GNUSTEP_BASE_INCLUDE
#define __NSPort_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSMapTable.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSMapTable.h>
#if defined(__MINGW32__)
#include <winsock2.h>
@ -137,7 +138,7 @@ GS_EXPORT NSString * const NSPortTimeoutException; /* OPENSTEP */
*/
- (BOOL) isValid;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Adds to run loop as input source to be notified for input in given mode.
* This method is for use by subclasses.
@ -187,7 +188,7 @@ GS_EXPORT NSString* const NSPortDidBecomeInvalidNotification;
#define PortBecameInvalidNotification NSPortDidBecomeInvalidNotification
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Native socket type.

View file

@ -18,14 +18,15 @@
You should have received a copy of the GNU Library General Public
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 __NSPortCoder_h
#define __NSPortCoder_h
#ifndef __NSPortCoder_h_GNUSTEP_BASE_INCLUDE
#define __NSPortCoder_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSCoder.h>
#import <Foundation/NSCoder.h>
#if defined(__cplusplus)
extern "C" {
@ -181,4 +182,5 @@ extern "C" {
}
#endif
#endif /* __NSPortCoder_h */
#endif /* __NSPortCoder_h_GNUSTEP_BASE_INCLUDE */

View file

@ -18,15 +18,16 @@
You should have received a copy of the GNU Library General Public
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 __NSPortMessage_h_GNUSTEP_BASE_INCLUDE
#define __NSPortMessage_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSPort.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSPort.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
<title>NSPortNameServer class reference</title>
@ -31,9 +31,10 @@
#ifndef __NSPortNameServer_h_GNUSTEP_BASE_INCLUDE
#define __NSPortNameServer_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSMapTable.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSMapTable.h>
#if OS_API_VERSION(GS_API_MACOSX,HS_API_LATEST)

View file

@ -24,9 +24,12 @@
#ifndef __NSPredicate_h_GNUSTEP_BASE_INCLUDE
#define __NSPredicate_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSArray.h>
#if OS_API_VERSION(100400, GS_API_LATEST)
#import <Foundation/NSObject.h>
#import <Foundation/NSArray.h>
#if defined(__cplusplus)
extern "C" {
@ -55,4 +58,5 @@ extern "C" {
}
#endif
#endif /* __NSPredicate_h_GNUSTEP_BASE_INCLUDE */
#endif /* 100400 */
#endif /* __NSPredicate_h_GNUSTEP_BASE_INCLUDE */

View file

@ -20,14 +20,15 @@
You should have received a copy of the GNU Library General Public
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 __NSProcessInfo_h_GNUSTEP_BASE_INCLUDE
#define __NSProcessInfo_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSPropertyList.m
@ -27,14 +27,15 @@
#ifndef __NSPropertyList_h_GNUSTEP_BASE_INCLUDE
#define __NSPropertyList_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
@class NSData, NSString;
@ -250,7 +251,7 @@ typedef enum {
@end
#endif /* STRICT_OPENSTEP */
#endif /* GS_API_MACOSX */
#if defined(__cplusplus)
}

View file

@ -18,15 +18,16 @@
You should have received a copy of the GNU Library General Public
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 __NSProtocolChecker_h_GNUSTEP_BASE_INCLUDE
#define __NSProtocolChecker_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSProxy.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSProxy.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,14 +18,15 @@
You should have received a copy of the GNU Library General Public
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 __NSProxy_h_GNUSTEP_BASE_INCLUDE
#define __NSProxy_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,15 +18,17 @@
*
* You should have received a copy of the GNU Library General Public
* 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 __NSRange_h_GNUSTEP_BASE_INCLUDE
#define __NSRange_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
/**** Included Headers *******************************************************/
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -85,7 +87,7 @@ struct _NSRange
unsigned int length;
};
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/** Pointer to an NSRange structure. */
typedef NSRange *NSRangePointer;
#endif
@ -226,7 +228,7 @@ GS_EXPORT NSRange NSRangeFromString(NSString *aString);
#undef MIN
#endif
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* To be used inside a method for making sure that a range does not specify
* anything outside the size of an array/string. Raises exception if range

View file

@ -24,8 +24,9 @@
#ifndef __NSRunLoop_h_GNUSTEP_BASE_INCLUDE
#define __NSRunLoop_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSMapTable.h>
#import <Foundation/NSMapTable.h>
#if defined(__cplusplus)
extern "C" {

View file

@ -18,16 +18,17 @@
You should have received a copy of the GNU Library General Public
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 __NSScanner_h_GNUSTEP_INCLUDE
#define __NSScanner_h_GNUSTEP_INCLUDE
#ifndef __NSScanner_h_GNUSTEP_BASE_INCLUDE
#define __NSScanner_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSDecimal.h>
#include <Foundation/NSDictionary.h>
#include <Foundation/NSCharacterSet.h>
#import <Foundation/NSDecimal.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSCharacterSet.h>
#if defined(__cplusplus)
extern "C" {
@ -92,10 +93,10 @@ extern "C" {
intoString: (NSString**)value;
- (BOOL) isAtEnd;
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
- (BOOL) scanRadixUnsignedInt: (unsigned int*)value;
#endif
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL) scanDecimal: (NSDecimal*)value;
#endif
@end
@ -104,4 +105,4 @@ extern "C" {
}
#endif
#endif /* __NSScanner_h_GNUSTEP_INCLUDE */
#endif /* __NSScanner_h_GNUSTEP_BASE_INCLUDE */

View file

@ -20,14 +20,15 @@
You should have received a copy of the GNU Library General Public
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 __NSSerialization_h_GNUSTEP_BASE_INCLUDE
#define __NSSerialization_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -91,7 +92,7 @@ extern "C" {
intoData: (NSMutableData*)d;
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* GNUstep extends serialization by having the option to make the
* resulting data more compact by ensuring that repeated strings
@ -167,7 +168,7 @@ extern "C" {
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* <p>GNUstep extends deserialization by having the option to make the
* resulting data more compact by ensuring that repeated strings

View file

@ -18,8 +18,8 @@
You should have received a copy of the GNU Library General Public
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.
AutogsdocSource: NSSet.m
AutogsdocSource: NSCountedSet.m
@ -28,8 +28,9 @@
#ifndef _NSSet_h_GNUSTEP_BASE_INCLUDE
#define _NSSet_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -43,7 +44,7 @@ extern "C" {
+ (id) setWithArray: (NSArray*)objects;
+ (id) setWithObject: (id)anObject;
+ (id) setWithObjects: (id)firstObject, ...;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
+ (id) setWithObjects: (id*)objects
count: (unsigned)count;
#endif
@ -70,7 +71,7 @@ extern "C" {
- (void) makeObjectsPerform: (SEL)aSelector;
- (void) makeObjectsPerform: (SEL)aSelector withObject: (id)argument;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) makeObjectsPerformSelector: (SEL)aSelector;
- (void) makeObjectsPerformSelector: (SEL)aSelector withObject: (id)argument;
#endif
@ -90,7 +91,7 @@ extern "C" {
- (void) minusSet: (NSSet*)other;
- (void) removeAllObjects;
- (void) removeObject: (id)anObject;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (void) setSet: (NSSet*)other;
#endif
- (void) unionSet: (NSSet*)other;
@ -102,7 +103,7 @@ extern "C" {
@end
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Utility methods for using a counted set to handle uniquing of objects.
@ -177,7 +178,7 @@ void GSUPurge(unsigned count);
*/
id GSUSet(id anObject, unsigned count);
#endif /* NO_GNUSTEP */
#endif /* GS_API_NONE */
#if defined(__cplusplus)
}

View file

@ -18,22 +18,23 @@
You should have received a copy of the GNU Library General Public
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 __NSSortDescriptor_h_GNUSTEP_BASE_INCLUDE
#define __NSSortDescriptor_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSArray.h>
#if OS_API_VERSION(100300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#import <Foundation/NSArray.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100300,GS_API_LATEST)
@class NSString;
@interface NSSortDescriptor : NSObject <NSCopying, NSCoding>
@ -82,6 +83,6 @@ extern "C" {
}
#endif
#endif
#endif /* 100400 */
#endif /* __NSSortDescriptor_h_GNUSTEP_BASE_INCLUDE */

View file

@ -23,15 +23,16 @@
#ifndef __NSStream_h_GNUSTEP_BASE_INCLUDE
#define __NSStream_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100400,GS_API_LATEST) && GS_API_VERSION(010200,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100400,GS_API_LATEST) && GS_API_VERSION(010200,GS_API_LATEST)
typedef enum {
NSStreamStatusNotOpen = 0,
NSStreamStatusOpening = 1,
@ -335,10 +336,10 @@ GS_EXPORT NSString * const NSStreamSOCKSProxyVersionKey;
- (void) stream: (NSStream*)sStream handleEvent: (NSStreamEvent)anEvent;
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif /* __NSStream_h_GNUSTEP_BASE_INCLUDE */
#endif /* 100200 */
#endif /* __NSStream_h_GNUSTEP_BASE_INCLUDE */

View file

@ -24,9 +24,10 @@
#ifndef __NSString_h_GNUSTEP_BASE_INCLUDE
#define __NSString_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSRange.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSRange.h>
#if defined(__cplusplus)
extern "C" {
@ -41,7 +42,7 @@ typedef unsigned short unichar;
@class NSCharacterSet;
@class NSData;
@class NSDictionary;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
@class NSURL;
#endif
@ -286,7 +287,7 @@ enum {
// Getting C Strings
- (const char*) cString;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#if OS_API_VERSION(100400,GS_API_LATEST) && GS_API_VERSION(010200,GS_API_LATEST)
- (const char*) cStringUsingEncoding: (NSStringEncoding)encoding;
@ -537,7 +538,7 @@ enum {
// for methods working with decomposed strings
- (int) _baseLength;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
/**
* Concatenates the path components in the array and returns the result.<br />
* This method does not remove empty path components, but does recognize an
@ -618,10 +619,10 @@ enum {
- (const char *)UTF8String;
#endif
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
+ (Class) constantStringClass;
- (BOOL) boolValue;
#endif /* NO_GNUSTEP */
#endif /* GS_API_NONE */
@end
@ -693,7 +694,7 @@ enum {
extern struct objc_class _NSConstantStringClassReference;
#endif
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
@interface NSMutableString (GNUstep)
- (NSString*) immutableProxy;
@ -797,7 +798,7 @@ extern struct objc_class _NSConstantStringClassReference;
- (void) trimSpaces;
@end
#endif /* NO_GNUSTEP */
#endif /* GS_API_NONE */
#if defined(__cplusplus)
}

View file

@ -18,18 +18,19 @@
You should have received a copy of the GNU Library General Public
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 __NSTask_h_GNUSTEP_BASE_INCLUDE
#define __NSTask_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>
#include <Foundation/NSArray.h>
#include <Foundation/NSDictionary.h>
#include <Foundation/NSFileHandle.h>
#import <Foundation/NSObject.h>
#import <Foundation/NSString.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSFileHandle.h>
#if defined(__cplusplus)
extern "C" {
@ -81,7 +82,7 @@ extern "C" {
* Obtaining task state
*/
- (BOOL) isRunning;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (int) processIdentifier;
#endif
- (int) terminationStatus;
@ -91,14 +92,14 @@ extern "C" {
*/
- (void) interrupt;
- (void) launch;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (BOOL) resume;
- (BOOL) suspend;
#endif
- (void) terminate;
- (void) waitUntilExit;
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
- (BOOL) usePseudoTerminal;
- (NSString*) validatedLaunchPath;
#endif

View file

@ -19,17 +19,18 @@
You should have received a copy of the GNU Library General Public
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 __NSThread_h_GNUSTEP_BASE_INCLUDE
#define __NSThread_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSDictionary.h>
#include <Foundation/NSDate.h>
#include <Foundation/NSException.h>
#include <Foundation/NSAutoreleasePool.h> // for struct autorelease_thread_vars
#import <Foundation/NSDictionary.h>
#import <Foundation/NSDate.h>
#import <Foundation/NSException.h>
#import <Foundation/NSAutoreleasePool.h> // for struct autorelease_thread_vars
#if defined(__cplusplus)
extern "C" {
@ -62,7 +63,7 @@ extern "C" {
@end
#ifndef STRICT_OPENSTEP
#if GS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
@interface NSObject(NSMainThreadPerformAdditions)
- (void) performSelectorOnMainThread: (SEL)aSelector
withObject: (id)anObject
@ -74,7 +75,7 @@ extern "C" {
@end
#endif
#ifndef NO_GNUSTEP
#if GS_API_VERSION(GS_API_NONE, GS_API_NONE)
/*
* Don't use the following functions unless you really know what you are
* doing !
@ -133,7 +134,7 @@ GS_EXPORT NSString* const NSWillBecomeMultiThreadedNotification;
GS_EXPORT NSString* const NSThreadWillExitNotification;
#define NSThreadExiting NSThreadWillExitNotification
#ifndef NO_GNUSTEP
#if GS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Notification posted whenever a new thread is started up. This is a

View file

@ -15,14 +15,15 @@
You should have received a copy of the GNU Library General Public
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 __NSTimeZone_h_GNUSTEP_BASE_INCLUDE
#define __NSTimeZone_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -51,13 +52,13 @@ extern "C" {
+ (NSArray*) timeZoneArray;
- (NSArray*) timeZoneDetailArray;
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/* Returns an dictionary that maps abbreviations to the array
containing all the time zone names that use the abbreviation. */
+ (NSDictionary*) abbreviationMap;
#endif
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_NONE)
+ (void) resetSystemTimeZone;
+ (NSTimeZone*) systemTimeZone;
+ (NSTimeZone*) timeZoneWithName: (NSString*)name data: (NSData*)data;
@ -74,7 +75,7 @@ extern "C" {
- (int) secondsFromGMTForDate: (NSDate*)aDate;
#endif
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
- (NSTimeZoneDetail*) timeZoneDetailForDate: (NSDate*)date;
- (NSString*) timeZoneName;
#endif
@ -88,7 +89,7 @@ extern "C" {
+ (NSTimeZone*) timeZoneWithAbbreviation: (NSString*)abbreviation;
@end
#ifndef STRICT_MACOS_X
#if OS_API_VERSION(GS_API_OPENSTEP, GS_API_MACOSX)
@interface NSTimeZoneDetail : NSTimeZone
- (BOOL) isDaylightSavingTimeZone;
- (NSString*) timeZoneAbbreviation;

View file

@ -18,17 +18,18 @@
You should have received a copy of the GNU Library General Public
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 __NSTimer_include__
#define __NSTimer_include__
#ifndef __NSTimer_h_GNUSTEP_BASE_INCLUDE
#define __NSTimer_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
/* This class is currently thrown together. When it is cleaned up, it
may no longer be concrete. */
#include <Foundation/NSDate.h>
#import <Foundation/NSDate.h>
#if defined(__cplusplus)
extern "C" {
@ -76,7 +77,7 @@ extern "C" {
- (id) userInfo;
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
- (id) initWithFireDate: (NSDate*)fd
interval: (NSTimeInterval)ti
target: (id)object
@ -94,4 +95,4 @@ extern "C" {
}
#endif
#endif
#endif /* __NSTimer_h_GNUSTEP_BASE_INCLUDE */

View file

@ -18,20 +18,21 @@
You should have received a copy of the GNU Library General Public
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 _NSURL_h__
#define _NSURL_h__
#ifndef __NSURL_h_GNUSTEP_BASE_INCLUDE
#define __NSURL_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSURLHandle.h>
#import <Foundation/NSURLHandle.h>
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef STRICT_OPENSTEP
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
@class NSNumber;
@ -116,10 +117,11 @@ GS_EXPORT NSString* const NSURLFileScheme;
resourceDidFailLoadingWithReason: (NSString*)reason;
@end
#endif
#endif /* GS_API_MACOSX */
#if defined(__cplusplus)
}
#endif
#endif //_NSUrl_h__
#endif /* __NSURL_h_GNUSTEP_BASE_INCLUDE */

View file

@ -24,15 +24,16 @@
#ifndef __NSURLAuthenticationChallenge_h_GNUSTEP_BASE_INCLUDE
#define __NSURLAuthenticationChallenge_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSError;
@class NSURLAuthenticationChallenge;
@class NSURLCredential;
@ -145,10 +146,10 @@ extern "C" {
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,15 +24,16 @@
#ifndef __NSURLCache_h_GNUSTEP_BASE_INCLUDE
#define __NSURLCache_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSData;
@class NSDictionary;
@class NSURLRequest;
@ -193,10 +194,10 @@ typedef enum
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,15 +24,16 @@
#ifndef __NSURLConnection_h_GNUSTEP_BASE_INCLUDE
#define __NSURLConnection_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSCachedURLResponse;
@class NSData;
@class NSError;
@ -228,10 +229,10 @@ extern "C" {
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,15 +24,16 @@
#ifndef __NSURLCredential_h_GNUSTEP_BASE_INCLUDE
#define __NSURLCredential_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSString;
/**
@ -105,10 +106,10 @@ typedef enum {
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,15 +24,16 @@
#ifndef __NSURLCredentialStorage_h_GNUSTEP_BASE_INCLUDE
#define __NSURLCredentialStorage_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSDictionary;
@class NSString;
@class NSURLCredential;
@ -103,10 +104,10 @@ extern NSString *const NSURLCredentialStorageChangedNotification;
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,15 +24,16 @@
#ifndef __NSURLDownload_h_GNUSTEP_BASE_INCLUDE
#define __NSURLDownload_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSData;
@class NSError;
@class NSString;
@ -206,10 +207,10 @@ extern "C" {
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,15 +24,16 @@
#ifndef __NSURLError_h_GNUSTEP_BASE_INCLUDE
#define __NSURLError_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSString;
/**
@ -88,10 +89,10 @@ enum
NSURLErrorDownloadDecodingFailedToComplete = -3007,
};
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -18,21 +18,22 @@
You should have received a copy of the GNU Library General Public
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 _NSURLHandle_h__
#define _NSURLHandle_h__
#ifndef __NSURLHandle_h_GNUSTEP_BASE_INCLUDE
#define __NSURLHandle_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#ifndef STRICT_OPENSTEP
@class NSData;
@class NSString;
@class NSMutableArray;
@ -70,7 +71,7 @@ GS_EXPORT NSString * const NSHTTPPropertyRedirectionHeadersKey;
*/
GS_EXPORT NSString * const NSHTTPPropertyErrorPageDataKey;
#ifndef NO_GNUSTEP
#if OS_API_VERSION(GS_API_NONE, GS_API_NONE)
/**
* Key for passing to [NSURLHandle]'s <code>propertyForKey..</code> methods to
@ -214,10 +215,11 @@ typedef enum
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif /* __NSURLHandle_h_GNUSTEP_BASE_INCLUDE */

View file

@ -24,15 +24,16 @@
#ifndef __NSURLProtectionSpace_h_GNUSTEP_BASE_INCLUDE
#define __NSURLProtectionSpace_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSString;
extern NSString * const NSURLProtectionSpaceFTPProxy; /** An FTP proxy */
@ -129,10 +130,10 @@ authenticationMethod: (NSString *)authenticationMethod;
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,16 +24,17 @@
#ifndef __NSURLProtocol_h_GNUSTEP_BASE_INCLUDE
#define __NSURLProtocol_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#include <Foundation/NSURLCache.h>
#import <Foundation/NSURLCache.h>
@class NSCachedURLResponse;
@class NSError;
@ -222,10 +223,10 @@ extern "C" {
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,15 +24,16 @@
#ifndef __NSURLRequest_h_GNUSTEP_BASE_INCLUDE
#define __NSURLRequest_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSData;
@class NSDate;
@class NSDictionary;
@ -275,10 +276,10 @@ typedef enum
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -24,15 +24,16 @@
#ifndef __NSURLResponse_h_GNUSTEP_BASE_INCLUDE
#define __NSURLResponse_h_GNUSTEP_BASE_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
#endif
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
@class NSDictionary;
@class NSString;
@ -120,10 +121,10 @@ extern "C" {
@end
#endif
#if defined(__cplusplus)
}
#endif
#endif
#endif

View file

@ -17,14 +17,17 @@
You should have received a copy of the GNU Library General Public
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 __NSUndoManager_h_OBJECTS_INCLUDE
#define __NSUndoManager_h_OBJECTS_INCLUDE
#import <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#if OS_API_VERSION(GS_API_MACOSX, GS_API_LATEST)
#import <Foundation/NSObject.h>
#if defined(__cplusplus)
extern "C" {
@ -136,4 +139,6 @@ GS_EXPORT NSString* const NSUndoManagerWillUndoChangeNotification;
}
#endif
#endif /* GS_API_MACOSX */
#endif /* __NSUndoManager_h_OBJECTS_INCLUDE */

View file

@ -25,6 +25,7 @@
#ifndef __NSUserDefaults_h_OBJECTS_INCLUDE
#define __NSUserDefaults_h_OBJECTS_INCLUDE
#include <GNUstepBase/GSVersionMacros.h>
#include <Foundation/NSObject.h>
#include <Foundation/NSString.h>

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