summaryrefslogtreecommitdiffstats
path: root/macosx/HBQueueController.h
blob: 722416cd1a383cf828521c514056c2c2af2a5055 (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
28
29
/* HBQueueController.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>

NS_ASSUME_NONNULL_BEGIN

@class HBAppDelegate;
@class HBController;
@class HBQueue;

@interface HBQueueController : NSWindowController <NSToolbarDelegate, NSWindowDelegate>

- (instancetype)initWithQueue:(HBQueue *)queue;

@property (nonatomic, readonly) HBQueue *queue;

@property (nonatomic, weak, nullable) HBAppDelegate *delegate;

- (IBAction)toggleStartCancel:(id)sender;
- (IBAction)togglePauseResume:(id)sender;

@end

NS_ASSUME_NONNULL_END