summaryrefslogtreecommitdiffstats
path: root/macosx/HBMutablePreset.h
blob: 13ea64509b2fb89cba72a73f50ffd1e58e707964 (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
/*  HBMutablePreset.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 <Foundation/Foundation.h>
#import <HandBrakeKit/HBPreset.h>

NS_ASSUME_NONNULL_BEGIN

/**
 *  A mutable subclass of HBPreset.
 */
@interface HBMutablePreset : HBPreset

/// Removes unknown keys and normalizes values.
- (void)cleanUp;

- (void)resetBuiltInAndDefaultState;

- (void)setObject:(id)obj forKey:(NSString *)key;
- (void)setObject:(id)obj forKeyedSubscript:(NSString *)key;

@end

NS_ASSUME_NONNULL_END