blob: 73f4321c465769be02ae65c60a69065461c1299d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* HBPreset.h $
This file is part of the HandBrake source code.
Homepage: <http://handbrake.fr/>.
It may be used under the terms of the GNU General Public License. */
#import <Cocoa/Cocoa.h>
#import "HBTreeNode.h"
/**
* HBPreset
* Stores a preset dictionary.
*
* An instance of HBPreset can be an actual preset or a folder.
*/
@interface HBPreset : HBTreeNode <NSCopying>
- (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
|