summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.h
blob: a90f8f957ae18871d4d712040741f511387899c7 (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
/* $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 HBController;

@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