summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsViewController.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-05-16 07:08:39 +0000
committerritsuka <[email protected]>2015-05-16 07:08:39 +0000
commit5359f757b672db040780a76eeeea04ed2d3ef89c (patch)
treefa801e5ba2ede89176826b455a0b055ace4f1635 /macosx/HBPresetsViewController.h
parent857e9d35752fc2ff1397d7a677a12b9aca82ec7f (diff)
MacGui: allow exporting a preset folder. Add import/export menu item to the presets drawer too.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7192 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPresetsViewController.h')
-rw-r--r--macosx/HBPresetsViewController.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBPresetsViewController.h b/macosx/HBPresetsViewController.h
index 7c7efa15c..7dffd5f73 100644
--- a/macosx/HBPresetsViewController.h
+++ b/macosx/HBPresetsViewController.h
@@ -16,12 +16,15 @@
@end
-@interface HBPresetsViewController : NSViewController
+@interface HBPresetsViewController : NSViewController <NSUserInterfaceValidations>
- (instancetype)initWithPresetManager:(HBPresetsManager *)presetManager;
@property (nonatomic, readwrite, unsafe_unretained) id<HBPresetsViewControllerDelegate> delegate;
+- (IBAction)exportPreset:(id)sender;
+- (IBAction)importPreset:(id)sender;
+
- (void)deselect;
- (void)setSelection:(HBPreset *)preset;