diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-02-09 00:34:47 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-02-09 00:34:47 +0000 |
commit | 2d2268f5dc2cc2c2be6ea24a08551cf8a38806b2 (patch) | |
tree | 10fb0ffee5e792405e6c1dd6d73b19ab5b8c1c32 /cocoa/DownloadWindowController.h | |
parent | 36d1ae479ba27bd03f17c7b304e340757fb3101a (diff) | |
download | netsurf-2d2268f5dc2cc2c2be6ea24a08551cf8a38806b2.tar.gz netsurf-2d2268f5dc2cc2c2be6ea24a08551cf8a38806b2.tar.bz2 |
clean up cocoa warnings on os x yosemite sdk
Diffstat (limited to 'cocoa/DownloadWindowController.h')
-rw-r--r-- | cocoa/DownloadWindowController.h | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/cocoa/DownloadWindowController.h b/cocoa/DownloadWindowController.h index 798ebd1b6..47a05be39 100644 --- a/cocoa/DownloadWindowController.h +++ b/cocoa/DownloadWindowController.h @@ -21,19 +21,19 @@ struct gui_download_table *cocoa_download_table; @interface DownloadWindowController : NSWindowController { - struct download_context *context; - unsigned long totalSize; - unsigned long receivedSize; - - NSURL *url; - NSString *mimeType; - NSURL *saveURL; - NSFileHandle *outputFile; - NSMutableData *savedData; - NSDate *startDate; - - BOOL canClose; - BOOL shouldClose; + struct download_context *context; + unsigned long totalSize; + unsigned long receivedSize; + + NSURL *url; + NSString *mimeType; + NSURL *saveURL; + NSFileHandle *outputFile; + NSMutableData *savedData; + NSDate *startDate; + + BOOL canClose; + BOOL shouldClose; } @property (readwrite, copy, nonatomic) NSURL *URL; @@ -46,9 +46,8 @@ struct gui_download_table *cocoa_download_table; @property (readonly, nonatomic) NSImage *icon; @property (readonly, nonatomic) NSString *statusText; -- initWithContext: (struct download_context *)ctx; +- (id)initWithContext: (struct download_context *)ctx; - (void) abort; @end - |