summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.h
blob: fa45affb00fc3d963c1f4e30af56ede356f5b2cb (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
/* $Id: HBPreviewController.h,v 1.6 2005/04/14 20:40:05 titer Exp $

 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>

@class HBCore;
@class HBJob;

@protocol HBPreviewControllerDelegate <NSObject>

- (IBAction)showPicturePanel:(id)sender;

@end

@interface HBPreviewController : NSWindowController <NSWindowDelegate>

- (id)initWithDelegate:(id <HBPreviewControllerDelegate>)delegate;

@property (nonatomic, assign) HBCore *core;
@property (nonatomic, assign) HBJob *job;

/**
 *  Reloads the preview images.
 *  Usually called after a picture setting changes.
 */
- (void)reloadPreviews;

@end