mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
api: generate stubs for new classes
Generate class stubs (without any method definition) for NSFileCoordinator, NSFilePresenter, NSFileVersion and NSURLSession.
This commit is contained in:
parent
e2831f34c1
commit
7636967f30
9 changed files with 104 additions and 0 deletions
|
@ -64,8 +64,11 @@
|
||||||
#import <Foundation/NSError.h>
|
#import <Foundation/NSError.h>
|
||||||
#import <Foundation/NSException.h>
|
#import <Foundation/NSException.h>
|
||||||
#import <Foundation/NSExpression.h>
|
#import <Foundation/NSExpression.h>
|
||||||
|
#import <Foundation/NSFileCoordinator.h>
|
||||||
#import <Foundation/NSFileHandle.h>
|
#import <Foundation/NSFileHandle.h>
|
||||||
#import <Foundation/NSFileManager.h>
|
#import <Foundation/NSFileManager.h>
|
||||||
|
#import <Foundation/NSFilePresenter.h>
|
||||||
|
#import <Foundation/NSFileVersion.h>
|
||||||
#import <Foundation/NSFormatter.h>
|
#import <Foundation/NSFormatter.h>
|
||||||
#import <Foundation/NSGarbageCollector.h>
|
#import <Foundation/NSGarbageCollector.h>
|
||||||
#import <Foundation/NSGeometry.h>
|
#import <Foundation/NSGeometry.h>
|
||||||
|
@ -132,6 +135,7 @@
|
||||||
#import <Foundation/NSURLProtocol.h>
|
#import <Foundation/NSURLProtocol.h>
|
||||||
#import <Foundation/NSURLRequest.h>
|
#import <Foundation/NSURLRequest.h>
|
||||||
#import <Foundation/NSURLResponse.h>
|
#import <Foundation/NSURLResponse.h>
|
||||||
|
#import <Foundation/NSURLSession.h>
|
||||||
#import <Foundation/NSUserDefaults.h>
|
#import <Foundation/NSUserDefaults.h>
|
||||||
#import <Foundation/NSUserNotification.h>
|
#import <Foundation/NSUserNotification.h>
|
||||||
#import <Foundation/NSUUID.h>
|
#import <Foundation/NSUUID.h>
|
||||||
|
|
15
Headers/Foundation/NSFileCoordinator.h
Normal file
15
Headers/Foundation/NSFileCoordinator.h
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#ifndef __NSFileCoordinator_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
#define __NSFileCoordinator_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
|
||||||
|
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7,GS_API_LATEST)
|
||||||
|
|
||||||
|
@interface NSFileAccessIntent : NSObject
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSFileCoordinator : NSObject
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#endif
|
11
Headers/Foundation/NSFilePresenter.h
Normal file
11
Headers/Foundation/NSFilePresenter.h
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
#ifndef __NSFileCoordinator_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
#define __NSFileCoordinator_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
|
||||||
|
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7,GS_API_LATEST)
|
||||||
|
@protocol NSFilePresenter <NSObject>
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#endif
|
12
Headers/Foundation/NSFileVersion.h
Normal file
12
Headers/Foundation/NSFileVersion.h
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
#ifndef __NSFileVersion_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
#define __NSFileVersion_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
|
||||||
|
#if OS_API_VERSION(MAC_OS_X_VERSION_10_7,GS_API_LATEST)
|
||||||
|
|
||||||
|
@interface NSFileVersion : NSObject
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#endif
|
40
Headers/Foundation/NSURLSession.h
Normal file
40
Headers/Foundation/NSURLSession.h
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
#ifndef __NSURLSession_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
#define __NSURLSession_h_GNUSTEP_BASE_INCLUDE
|
||||||
|
|
||||||
|
#import <Foundation/NSObject.h>
|
||||||
|
|
||||||
|
#if OS_API_VERSION(MAC_OS_X_VERSION_10_9,GS_API_LATEST)
|
||||||
|
@protocol NSURLSessionDelegate;
|
||||||
|
@protocol NSURLSessionTaskDelegate;
|
||||||
|
|
||||||
|
@interface NSURLSession : NSObject
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSURLSessionConfiguration : NSObject <NSCopying>
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSURLSessionTask : NSObject <NSCopying>
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSURLSessionDataTask : NSURLSessionTask
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSURLSessionUploadTask : NSURLSessionDataTask
|
||||||
|
@end
|
||||||
|
|
||||||
|
@interface NSURLSessionDownloadTask : NSURLSessionTask
|
||||||
|
@end
|
||||||
|
|
||||||
|
#if OS_API_VERSION(MAC_OS_X_VERSION_10_11,GS_API_LATEST)
|
||||||
|
@interface NSURLSessionStreamTask : NSURLSessionTask
|
||||||
|
@end
|
||||||
|
#endif
|
||||||
|
|
||||||
|
@protocol NSURLSessionDelegate <NSObject>
|
||||||
|
@end
|
||||||
|
|
||||||
|
@protocol NSURLSessionTaskDelegate <NSURLSessionDelegate>
|
||||||
|
@end
|
||||||
|
|
||||||
|
#endif
|
||||||
|
#endif
|
|
@ -219,8 +219,10 @@ NSDistributedNotificationCenter.m \
|
||||||
NSEnumerator.m \
|
NSEnumerator.m \
|
||||||
NSError.m \
|
NSError.m \
|
||||||
NSException.m \
|
NSException.m \
|
||||||
|
NSFileCoordinator.m \
|
||||||
NSFileHandle.m \
|
NSFileHandle.m \
|
||||||
NSFileManager.m \
|
NSFileManager.m \
|
||||||
|
NSFileVersion.m \
|
||||||
NSFormatter.m \
|
NSFormatter.m \
|
||||||
NSGarbageCollector.m \
|
NSGarbageCollector.m \
|
||||||
NSGeometry.m \
|
NSGeometry.m \
|
||||||
|
@ -286,6 +288,7 @@ NSTimeZone.m \
|
||||||
NSUnarchiver.m \
|
NSUnarchiver.m \
|
||||||
NSUndoManager.m \
|
NSUndoManager.m \
|
||||||
NSURL.m \
|
NSURL.m \
|
||||||
|
NSURLSession.m \
|
||||||
NSURLAuthenticationChallenge.m \
|
NSURLAuthenticationChallenge.m \
|
||||||
NSURLCache.m \
|
NSURLCache.m \
|
||||||
NSURLCredential.m \
|
NSURLCredential.m \
|
||||||
|
@ -389,8 +392,11 @@ NSError.h \
|
||||||
NSErrorRecoveryAttempting.h \
|
NSErrorRecoveryAttempting.h \
|
||||||
NSException.h \
|
NSException.h \
|
||||||
NSExpression.h \
|
NSExpression.h \
|
||||||
|
NSFileCoordinator.h \
|
||||||
NSFileHandle.h \
|
NSFileHandle.h \
|
||||||
NSFileManager.h \
|
NSFileManager.h \
|
||||||
|
NSFilePresenter.h \
|
||||||
|
NSFileVersion.h \
|
||||||
NSFormatter.h \
|
NSFormatter.h \
|
||||||
NSGarbageCollector.h \
|
NSGarbageCollector.h \
|
||||||
NSGeometry.h \
|
NSGeometry.h \
|
||||||
|
@ -461,6 +467,7 @@ NSURLProtectionSpace.h \
|
||||||
NSURLProtocol.h \
|
NSURLProtocol.h \
|
||||||
NSURLRequest.h \
|
NSURLRequest.h \
|
||||||
NSURLResponse.h \
|
NSURLResponse.h \
|
||||||
|
NSURLSession.h \
|
||||||
NSUserDefaults.h \
|
NSUserDefaults.h \
|
||||||
NSUserNotification.h \
|
NSUserNotification.h \
|
||||||
NSUtilities.h \
|
NSUtilities.h \
|
||||||
|
|
7
Source/NSFileCoordinator.m
Normal file
7
Source/NSFileCoordinator.m
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#import <Foundation/NSFileCoordinator.h>
|
||||||
|
|
||||||
|
@implementation NSFileAccessIntent
|
||||||
|
@end
|
||||||
|
|
||||||
|
@implementation NSFileCoordinator
|
||||||
|
@end
|
4
Source/NSFileVersion.m
Normal file
4
Source/NSFileVersion.m
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#include <Foundation/NSFileVersion.h>
|
||||||
|
|
||||||
|
@implementation NSFileVersion
|
||||||
|
@end
|
4
Source/NSURLSession.m
Normal file
4
Source/NSURLSession.m
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
#import <Foundation/NSURLSession.h>
|
||||||
|
|
||||||
|
@implementation NSURLSession
|
||||||
|
@end
|
Loading…
Add table
Add a link
Reference in a new issue