summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreviewController.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBPreviewController.h')
-rw-r--r--macosx/HBPreviewController.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/macosx/HBPreviewController.h b/macosx/HBPreviewController.h
index 36a71faed..a90f8f957 100644
--- a/macosx/HBPreviewController.h
+++ b/macosx/HBPreviewController.h
@@ -11,9 +11,16 @@
@class HBCore;
@class HBJob;
+@protocol HBPreviewControllerDelegate <NSObject>
+
+- (IBAction)showPicturePanel:(id)sender;
+
+@end
+
@interface HBPreviewController : NSWindowController <NSWindowDelegate>
-@property (nonatomic, assign) HBController *delegate;
+- (id)initWithDelegate:(id <HBPreviewControllerDelegate>)delegate;
+
@property (nonatomic, assign) HBCore *core;
@property (nonatomic, assign) HBJob *job;