summaryrefslogtreecommitdiffstats
path: root/macosx/HBAVPlayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBAVPlayer.h')
-rw-r--r--macosx/HBAVPlayer.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/macosx/HBAVPlayer.h b/macosx/HBAVPlayer.h
new file mode 100644
index 000000000..d8593efc4
--- /dev/null
+++ b/macosx/HBAVPlayer.h
@@ -0,0 +1,28 @@
+/* HBAVPlayer.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 <Foundation/Foundation.h>
+#import <QuartzCore/QuartzCore.h>
+
+#import "HBPlayer.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface HBAVPlayer : NSObject <HBPlayer>
+
+@property (nonatomic, readonly) CALayer *layer;
+
+@property (nonatomic, readonly) NSTimeInterval duration;
+@property (nonatomic) NSTimeInterval currentTime;
+
+@property (nonatomic) float rate;
+@property (nonatomic) float volume;
+
+@property (nonatomic, readonly, getter=isPlayable) BOOL playable;
+
+@end
+
+NS_ASSUME_NONNULL_END