/* HBStateFormatter+Private.h
This file is part of the HandBrake source code.
Homepage: .
It may be used under the terms of the GNU General Public License. */
#import
#import "HBStateFormatter.h"
#include "handbrake/handbrake.h"
NS_ASSUME_NONNULL_BEGIN
@interface HBStateFormatter (Private)
/**
* Returns a string containing the formatted value of the provided hb_state_t struct.
*
* @param s hb_state_t
* @param title the title of the current job
*/
- (NSString *)stateToString:(hb_state_t)s;
/**
* Returns a float containing the completion percent.
* the float range is [0,1]
*
* @param s hb_state_t
*/
- (float)stateToPercentComplete:(hb_state_t)s;
@end
NS_ASSUME_NONNULL_END