/* HBPreset.h $ This file is part of the HandBrake source code. Homepage: . It may be used under the terms of the GNU General Public License. */ #import #import "HBTreeNode.h" /** * HBPreset * Stores a preset dictionary. * * An instance of HBPreset can be an actual preset or a folder. */ @interface HBPreset : HBTreeNode - (instancetype)initWithName:(NSString *)title content:(NSDictionary *)content builtIn:(BOOL)builtIn; - (instancetype)initWithFolderName:(NSString *)title builtIn:(BOOL)builtIn; @property (nonatomic, copy) NSString *name; @property (nonatomic, readwrite, retain) NSString *presetDescription; @property (nonatomic, retain) NSDictionary *content; @property (nonatomic, readwrite) BOOL isDefault; @property (nonatomic, readonly) BOOL isBuiltIn; @end