summaryrefslogtreecommitdiffstats
path: root/macosx/HBStateFormatter.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-02-26 09:50:16 +0100
committerDamiano Galassi <[email protected]>2016-03-11 13:51:17 +0100
commit7481df6459c9ab20c6aa68159243f492d113736b (patch)
treed09e6cc962458cd5f7c1f72c1b532bcc9bc63247 /macosx/HBStateFormatter.h
parentd5535297783e8728e45c1d79e973287fead81788 (diff)
MacGui: move the objc libhb wrapper to a separate framework.
Diffstat (limited to 'macosx/HBStateFormatter.h')
-rw-r--r--macosx/HBStateFormatter.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/macosx/HBStateFormatter.h b/macosx/HBStateFormatter.h
index 823230929..49c3599e2 100644
--- a/macosx/HBStateFormatter.h
+++ b/macosx/HBStateFormatter.h
@@ -5,7 +5,6 @@
It may be used under the terms of the GNU General Public License. */
#import <Foundation/Foundation.h>
-#include "hb.h"
NS_ASSUME_NONNULL_BEGIN
@@ -15,20 +14,9 @@ NS_ASSUME_NONNULL_BEGIN
@interface HBStateFormatter : NSObject
/**
- * 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
+ * The title to show in the output info.
*/
-- (NSString *)stateToString:(hb_state_t)s title:(nullable NSString *)title;
-
-/**
- * Returns a CGFloat containing the completion percent.
- * the CGFloat range is [0,1]
- *
- * @param s hb_state_t
- */
-- (CGFloat)stateToPercentComplete:(hb_state_t)s;
+@property (nonatomic, readwrite, copy) NSString *title;
/**
* Break the output string in two lines.