summaryrefslogtreecommitdiffstats
path: root/macosx/HBHUD.h
blob: a46c02aa9c0b95cf93ac357ec5231d1fdbe361e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*  HBHUD.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>

@protocol HBHUD <NSObject>

/// Whether the hud can be hidden or not;
- (BOOL)canBeHidden;

// Responder chains is nice and good, but NSViewController
// are not automatically inserted in the responder chain prior 10.10
// and are removed when the view is hidden, so let's deliver the
// events manually.

- (BOOL)HB_keyDown:(NSEvent *)event;
- (BOOL)HB_scrollWheel:(NSEvent *)theEvent;

@end