summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsViewController.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-11-30 16:52:38 +0100
committerDamiano Galassi <[email protected]>2017-11-30 16:52:38 +0100
commitb93c4fb4f10e63ad5ba202de75056452f22af7da (patch)
tree0e43b20e4031af9a28493575bdd90a424a1ae4f9 /macosx/HBPresetsViewController.h
parent72cc6397d64e89a41cc654d9173942bb49f148aa (diff)
MacGui: add a header to the presets popover.
Diffstat (limited to 'macosx/HBPresetsViewController.h')
-rw-r--r--macosx/HBPresetsViewController.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/HBPresetsViewController.h b/macosx/HBPresetsViewController.h
index 36dc44dfb..11390e452 100644
--- a/macosx/HBPresetsViewController.h
+++ b/macosx/HBPresetsViewController.h
@@ -9,6 +9,8 @@
@class HBPresetsManager;
@class HBPreset;
+NS_ASSUME_NONNULL_BEGIN
+
@protocol HBPresetsViewControllerDelegate <NSObject>
- (void)selectionDidChange;
@@ -30,9 +32,12 @@
- (IBAction)insertCategory:(id)sender;
-@property (nonatomic, readonly, weak) HBPreset *selectedPreset;
+@property (nonatomic, readonly) HBPreset *selectedPreset;
@property (nonatomic, readonly) NSUInteger indexOfSelectedItem;
@property (nonatomic, readwrite, getter=isEnabled) BOOL enabled;
+@property (nonatomic, readwrite) BOOL showHeader;
@end
+
+NS_ASSUME_NONNULL_END