summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsMenuBuilder.h
blob: e3c9d67a65be449c4b7fcdab7a314e02b1aaf89e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*  HBPresetsMenuBuilder.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 HandBrakeKit;

NS_ASSUME_NONNULL_BEGIN

@interface HBPresetsMenuBuilder : NSObject

@property (nonatomic, readonly) NSMenu *menu;

- (instancetype)initWithMenu:(NSMenu *)menu action:(SEL)action size:(CGFloat)size presetsManager:(HBPresetsManager *)manager;

/**
 *  Adds the presets list to the menu.
 */
- (void)build;

@end

NS_ASSUME_NONNULL_END