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/HBStateFormatter.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/HBStateFormatter.h')
-rw-r--r-- | macosx/HBStateFormatter.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/macosx/HBStateFormatter.h b/macosx/HBStateFormatter.h index f5b97f2fb..823230929 100644 --- a/macosx/HBStateFormatter.h +++ b/macosx/HBStateFormatter.h @@ -7,6 +7,8 @@ #import <Foundation/Foundation.h> #include "hb.h" +NS_ASSUME_NONNULL_BEGIN + /** * Instances of HBStateFormatter format and conver a hb_state_t struct to a textual representation. */ @@ -18,7 +20,7 @@ * @param s hb_state_t * @param title the title of the current job */ -- (NSString *)stateToString:(hb_state_t)s title:(NSString *)title; +- (NSString *)stateToString:(hb_state_t)s title:(nullable NSString *)title; /** * Returns a CGFloat containing the completion percent. @@ -39,3 +41,5 @@ @property (nonatomic, readwrite) BOOL showPassNumber; @end + +NS_ASSUME_NONNULL_END |