summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetCoding.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-13 10:22:02 +0200
committerDamiano Galassi <[email protected]>2015-10-13 10:22:02 +0200
commit14839ed2b8a7e4615b2c30fe8a46bb63819d0b40 (patch)
treef8684e1d7eb41fa1df0c420da50cd4f53f692e64 /macosx/HBPresetCoding.h
parentb8bcf81a60e505135cab3f6deeb090989012ba5e (diff)
MacGui: remove some HBPreset -> NSDictionary conversions and add a mutable version of HBPreset.
Diffstat (limited to 'macosx/HBPresetCoding.h')
-rw-r--r--macosx/HBPresetCoding.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/macosx/HBPresetCoding.h b/macosx/HBPresetCoding.h
index f1464c0b2..aca9aac34 100644
--- a/macosx/HBPresetCoding.h
+++ b/macosx/HBPresetCoding.h
@@ -6,10 +6,12 @@
#import <Foundation/Foundation.h>
-@protocol HBPresetCoding <NSObject>
+#import "HBPreset.h"
+#import "HBMutablePreset.h"
-- (void)applyPreset:(NSDictionary *)preset;
-- (void)writeToPreset:(NSMutableDictionary *)preset;
+@protocol HBPresetCoding <NSObject>
+- (void)applyPreset:(HBPreset *)preset;
+- (void)writeToPreset:(HBMutablePreset *)preset;
@end \ No newline at end of file