summaryrefslogtreecommitdiffstats
path: root/macosx/HBEncodingProgressHUDController.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2016-05-03 18:47:14 +0200
committerDamiano Galassi <[email protected]>2016-05-03 18:47:14 +0200
commite53308f9342d911a9d3e8f4d1eeba6e53fabc0ab (patch)
treef65f5390d9174276022790a308660e17d7a3601f /macosx/HBEncodingProgressHUDController.h
parent4ab21a0ca630dc4bac79149a6eec598921899fe5 (diff)
MacGui: use AVFoundation as the first option for the preview playback. Add volume and tracks controls to the player hud.
Diffstat (limited to 'macosx/HBEncodingProgressHUDController.h')
-rw-r--r--macosx/HBEncodingProgressHUDController.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/macosx/HBEncodingProgressHUDController.h b/macosx/HBEncodingProgressHUDController.h
new file mode 100644
index 000000000..e147d09c4
--- /dev/null
+++ b/macosx/HBEncodingProgressHUDController.h
@@ -0,0 +1,23 @@
+/* HBEncodingProgressHUDController.h $
+
+ This file is part of the HandBrake source code.
+ Homepage: <http://handbrake.fr/>.
+ It may be used under the terms of the GNU General Public License. */
+
+#import <Cocoa/Cocoa.h>
+#import "HBHUD.h"
+
+@protocol HBEncodingProgressHUDControllerDelegate <NSObject>
+
+- (void)cancelEncoding;
+
+@end
+
+@interface HBEncodingProgressHUDController : NSViewController <HBHUD>
+
+@property (nonatomic, nullable, assign) id<HBEncodingProgressHUDControllerDelegate> delegate;
+
+@property (nonatomic, nonnull) NSString *info;
+@property (nonatomic) double progress;
+
+@end