diff options
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 + |