libs-base/Headers/Foundation/NSURLSession.h
Daniel Ferreira 7636967f30 api: generate stubs for new classes
Generate class stubs (without any method definition) for
NSFileCoordinator, NSFilePresenter, NSFileVersion and NSURLSession.
2017-06-29 21:18:16 +01:00

40 lines
845 B
Objective-C

#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