blob: 8ef32b1ae557b48f7b501440e28ba641fab62bca (
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
30
31
32
33
34
35
36
37
38
39
40
41
|
/* 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>
#import <Growl/Growl.h>
@class HBAppDelegate;
@class HBController;
@class HBOutputPanelController;
@class HBCore;
@class HBJob;
@interface HBQueueController : NSWindowController <NSToolbarDelegate, NSWindowDelegate, GrowlApplicationBridgeDelegate>
/// The HBCore used for encoding.
@property (nonatomic, readonly) HBCore *core;
@property (nonatomic, unsafe_unretained) HBController *controller;
@property (nonatomic, unsafe_unretained) HBAppDelegate *delegate;
@property (nonatomic, readonly) NSUInteger count;
@property (nonatomic, readonly) NSUInteger pendingItemsCount;
@property (nonatomic, readonly) NSUInteger workingItemsCount;
- (void)addJob:(HBJob *)item;
- (void)addJobsFromArray:(NSArray *)items;
- (BOOL)jobExistAtURL:(NSURL *)url;
- (void)removeAllJobs;
- (void)setEncodingJobsAsPending;
- (IBAction)rip:(id)sender;
- (IBAction)cancelRip:(id)sender;
- (IBAction)togglePauseResume:(id)sender;
@end
|