diff options
author | Damiano Galassi <[email protected]> | 2015-10-13 19:17:10 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-13 19:17:10 +0200 |
commit | 1b8ff2bb17489ebadca609d91af2bde286fa69a2 (patch) | |
tree | 8d30dca2d32e2354fda6188bd2df678e4ee72b1e /macosx/HBPreset.h | |
parent | 441754fd518abf26385035fa58a1c1fa048f4119 (diff) |
MacGui: add a new method to create a copy of a HBPreset instance, and added back a method that had been inadvertently deleted.
Diffstat (limited to 'macosx/HBPreset.h')
-rw-r--r-- | macosx/HBPreset.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBPreset.h b/macosx/HBPreset.h index 32f20c177..100972784 100644 --- a/macosx/HBPreset.h +++ b/macosx/HBPreset.h @@ -22,10 +22,10 @@ typedef NS_ENUM(NSUInteger, HBPresetFormat) { @interface HBPreset : HBTreeNode <NSCopying, NSMutableCopying> - (instancetype)initWithFolderName:(NSString *)title builtIn:(BOOL)builtIn; - - (instancetype)initWithName:(NSString *)title content:(NSDictionary *)content builtIn:(BOOL)builtIn; - (instancetype)initWithDictionary:(NSDictionary *)dict; +- (instancetype)initWithPreset:(HBPreset *)preset; /** * Initializes a newly allocated preset object initialized with the data found at a given URL. |