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/HBPresetsManager.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/HBPresetsManager.h')
-rw-r--r-- | macosx/HBPresetsManager.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/macosx/HBPresetsManager.h b/macosx/HBPresetsManager.h index 4921768e9..f9fbd9770 100644 --- a/macosx/HBPresetsManager.h +++ b/macosx/HBPresetsManager.h @@ -4,7 +4,9 @@ Homepage: <http://handbrake.fr/>. It may be used under the terms of the GNU General Public License. */ -#import <Cocoa/Cocoa.h> +#import <Foundation/Foundation.h> + +NS_ASSUME_NONNULL_BEGIN @class HBPreset; @@ -64,7 +66,7 @@ extern NSString *HBPresetsChangedNotification; * * @return The index path whose corresponding value is equal to the preset. Returns nil if not found. */ -- (NSIndexPath *)indexPathOfPreset:(HBPreset *)preset; +- (nullable NSIndexPath *)indexPathOfPreset:(HBPreset *)preset; /** * Adds back the built in presets. @@ -72,3 +74,5 @@ extern NSString *HBPresetsChangedNotification; - (void)generateBuiltInPresets; @end + +NS_ASSUME_NONNULL_END |