diff options
Diffstat (limited to 'macosx/HBPreset.h')
-rw-r--r-- | macosx/HBPreset.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/macosx/HBPreset.h b/macosx/HBPreset.h index 3e95d3bab..75a8a6a42 100644 --- a/macosx/HBPreset.h +++ b/macosx/HBPreset.h @@ -9,10 +9,6 @@ NS_ASSUME_NONNULL_BEGIN -typedef NS_ENUM(NSUInteger, HBPresetFormat) { - HBPresetFormatPlist, - HBPresetFormatJson, -}; /** * HBPreset * Stores a preset dictionary. @@ -42,12 +38,11 @@ typedef NS_ENUM(NSUInteger, HBPresetFormat) { * * @param url The URL to which to write the preset. * @param atomically A flag that specifies whether the output should be written atomically. - * @param format the format of the file to write. * @param removeRoot whether the root preset should be written or not. * * @return YES if the location is written successfully, otherwise NO. */ -- (BOOL)writeToURL:(NSURL *)url atomically:(BOOL)atomically format:(HBPresetFormat)format removeRoot:(BOOL)removeRoot; +- (BOOL)writeToURL:(NSURL *)url atomically:(BOOL)atomically removeRoot:(BOOL)removeRoot error:(NSError * __autoreleasing *)outError; /** * The name of the preset. |