summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudio.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/HBAudio.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/HBAudio.h')
-rw-r--r--macosx/HBAudio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBAudio.h b/macosx/HBAudio.h
index 609f0fd2a..af37f4aa8 100644
--- a/macosx/HBAudio.h
+++ b/macosx/HBAudio.h
@@ -11,6 +11,8 @@
@class HBAudioTrack;
@class HBAudioDefaults;
+NS_ASSUME_NONNULL_BEGIN
+
extern NSString *HBAudioChangedNotification;
@interface HBAudio : NSObject <NSSecureCoding, NSCopying, HBPresetCoding>
@@ -26,7 +28,7 @@ extern NSString *HBAudioChangedNotification;
- (BOOL)anyCodecMatches:(int)codec;
- (void)settingTrackToNone:(HBAudioTrack *)newNoneTrack;
-- (void)switchingTrackFromNone:(HBAudioTrack *)noLongerNoneTrack;
+- (void)switchingTrackFromNone:(nullable HBAudioTrack *)noLongerNoneTrack;
- (void)containerChanged:(int)container;
@@ -40,3 +42,5 @@ extern NSString *HBAudioChangedNotification;
- (void)removeObjectFromTracksAtIndex:(NSUInteger)index;
@end
+
+NS_ASSUME_NONNULL_END