1 /* HBStateFormatter.h 2 3 This file is part of the HandBrake source code. 4 Homepage: <http://handbrake.fr/>. 5 It may be used under the terms of the GNU General Public License. */ 6 7 #import <Foundation/Foundation.h> 8 9 NS_ASSUME_NONNULL_BEGIN 10 11 /** 12 * Instances of HBStateFormatter format and convert a hb_state_t struct to a textual representation. 13 */ 14 @interface HBStateFormatter : NSObject 15 16 /** 17 * The title to show in the output info. 18 */ 19 @property (nonatomic, readwrite, copy, nullable) NSString *title; 20 21 /** 22 * Break the output string in two lines. 23 */ 24 @property (nonatomic, readwrite) BOOL twoLines; 25 26 /** 27 * Shows the pass number in the output string 28 */ 29 @property (nonatomic, readwrite) BOOL showPassNumber; 30 31 @end 32 33 NS_ASSUME_NONNULL_END 34