summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioTrack.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-06-01 17:21:48 +0000
committerritsuka <[email protected]>2015-06-01 17:21:48 +0000
commit29b0a01848dcff05c0ccf184ce1d8b99aec63507 (patch)
treebb113e45ce46390deef2ca188a6e6d28a610dd21 /macosx/HBAudioTrack.h
parent876f1f8cafd3510cb04f022f004610e39d50dbc8 (diff)
MacGui: add more nullability annotations.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7257 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioTrack.h')
-rw-r--r--macosx/HBAudioTrack.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/macosx/HBAudioTrack.h b/macosx/HBAudioTrack.h
index f46f854f5..e1333678d 100644
--- a/macosx/HBAudioTrack.h
+++ b/macosx/HBAudioTrack.h
@@ -10,6 +10,8 @@
@protocol HBAudioTrackDataSource;
@protocol HBAudioTrackDelegate;
+NS_ASSUME_NONNULL_BEGIN
+
/**
* Audio track dicts keys.
*/
@@ -34,15 +36,15 @@ extern NSString *keyAudioBitrate;
@interface HBAudioTrack : NSObject <NSSecureCoding, NSCopying>
@property (nonatomic, strong) NSDictionary *track;
-@property (nonatomic, strong) NSDictionary *codec;
+@property (nonatomic, strong, nullable) NSDictionary *codec;
@property (nonatomic, strong) NSDictionary *mixdown;
@property (nonatomic, strong) NSDictionary *sampleRate;
@property (nonatomic, strong) NSDictionary *bitRate;
@property (nonatomic, strong) NSNumber *drc;
@property (nonatomic, strong) NSNumber *gain;
@property (nonatomic, strong) NSNumber *videoContainerTag;
-@property (nonatomic, weak) id<HBAudioTrackDataSource> dataSource;
-@property (nonatomic, weak) id<HBAudioTrackDelegate> delegate;
+@property (nonatomic, weak, nullable) id<HBAudioTrackDataSource> dataSource;
+@property (nonatomic, weak, nullable) id<HBAudioTrackDelegate> delegate;
@property (nonatomic, strong) NSMutableArray *codecs;
@property (nonatomic, strong) NSMutableArray *mixdowns;
@@ -68,3 +70,5 @@ extern NSString *keyAudioBitrate;
- (void)switchingTrackFromNone:(HBAudioTrack *)noLongerNoneTrack;
- (void)mixdownChanged;
@end
+
+NS_ASSUME_NONNULL_END