diff options
author | ritsuka <[email protected]> | 2015-05-30 07:17:22 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-05-30 07:17:22 +0000 |
commit | 2837048a59ac5beab0b3428ca89c86857765de0a (patch) | |
tree | 15417d195f7223d85fac22560479717dfda31101 /macosx/HBQueueController.h | |
parent | 93fb333304b2493a50623b04caac95b53eca3240 (diff) |
MacGui: add nullability annotations to the headers and use weak where is possible.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7244 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.h')
-rw-r--r-- | macosx/HBQueueController.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/macosx/HBQueueController.h b/macosx/HBQueueController.h index 9e497d8c5..c0efaba17 100644 --- a/macosx/HBQueueController.h +++ b/macosx/HBQueueController.h @@ -7,6 +7,8 @@ #import <Cocoa/Cocoa.h> #import <Growl/Growl.h> +NS_ASSUME_NONNULL_BEGIN + @class HBAppDelegate; @class HBController; @class HBOutputPanelController; @@ -18,8 +20,8 @@ /// The HBCore used for encoding. @property (nonatomic, readonly) HBCore *core; -@property (nonatomic, unsafe_unretained) HBController *controller; -@property (nonatomic, unsafe_unretained) HBAppDelegate *delegate; +@property (nonatomic, weak, nullable) HBController *controller; +@property (nonatomic, weak, nullable) HBAppDelegate *delegate; @property (nonatomic, readonly) NSUInteger count; @property (nonatomic, readonly) NSUInteger pendingItemsCount; @@ -41,3 +43,6 @@ - (IBAction)togglePauseResume:(id)sender; @end + +NS_ASSUME_NONNULL_END + |