summaryrefslogtreecommitdiffstats
path: root/macosx/HBPlayerHUDController.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPlayerHUDController.h')
-rw-r--r--macosx/HBPlayerHUDController.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/macosx/HBPlayerHUDController.h b/macosx/HBPlayerHUDController.h
new file mode 100644
index 000000000..7becadb64
--- /dev/null
+++ b/macosx/HBPlayerHUDController.h
@@ -0,0 +1,23 @@
+/* HBPlayerHUDController.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 "HBPlayer.h"
+#import "HBHUD.h"
+
+@protocol HBPlayerHUDControllerDelegate <NSObject>
+
+- (void)stopPlayer;
+
+@end
+
+@interface HBPlayerHUDController : NSViewController <HBHUD>
+
+@property (nonatomic, nullable, assign) id<HBPlayerHUDControllerDelegate> delegate;
+
+@property (nonatomic, nullable) id<HBPlayer> player;
+
+@end