~ubuntu-branches/ubuntu/trusty/gnustep-base/trusty

« back to all changes in this revision

Viewing changes to Headers/Foundation/NSURLRequest.h

Tags: upstream-1.20.0
ImportĀ upstreamĀ versionĀ 1.20.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#define __NSURLRequest_h_GNUSTEP_BASE_INCLUDE
27
27
#import <GNUstepBase/GSVersionMacros.h>
28
28
 
29
 
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION(011300,GS_API_LATEST)
 
29
#if OS_API_VERSION(100200,GS_API_LATEST) && GS_API_VERSION( 11300,GS_API_LATEST)
30
30
 
31
31
#import <Foundation/NSObject.h>
32
32
 
41
41
@class NSString;
42
42
@class NSURL;
43
43
 
 
44
enum
 
45
{
 
46
  NSURLRequestUseProtocolCachePolicy,
 
47
  NSURLRequestReloadIgnoringCacheData,
 
48
  NSURLRequestReturnCacheDataElseLoad,
 
49
  NSURLRequestReturnCacheDataDontLoad,
 
50
};
44
51
/**
45
52
 * <deflist>
46
53
 *   <term>NSURLRequestUseProtocolCachePolicy</term>
67
74
 *   </desc>
68
75
 * </deflist>
69
76
 */
70
 
typedef enum
71
 
{
72
 
  NSURLRequestUseProtocolCachePolicy,
73
 
  NSURLRequestReloadIgnoringCacheData,
74
 
  NSURLRequestReturnCacheDataElseLoad,
75
 
  NSURLRequestReturnCacheDataDontLoad,
76
 
} NSURLRequestCachePolicy;
 
77
typedef NSUInteger NSURLRequestCachePolicy;
77
78
 
78
79
 
79
80
/**
83
84
 */
84
85
@interface NSURLRequest : NSObject <NSCoding, NSCopying, NSMutableCopying>
85
86
{
86
 
@private
 
87
#if     GS_EXPOSE(NSURLRequest)
87
88
  void *_NSURLRequestInternal;
 
89
#endif
88
90
}
89
91
 
90
92
/*