summaryrefslogtreecommitdiffstats
path: root/macosx/HBPresetsManager.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-11-23 12:54:31 +0000
committerritsuka <[email protected]>2014-11-23 12:54:31 +0000
commit9e0dcb82bdbf0801b79b84241ab67088c2fb0553 (patch)
tree7eb8845516a8e3bb091e07a0eaa40e8459c1a93e /macosx/HBPresetsManager.h
parent20e1a9b2e253fe2d59dbf64a878e735a8d4d7c91 (diff)
MacGui: moved the "add preset" window to its own window controller class. Keep the current settings when changing title or scanning a new file.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6538 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBPresetsManager.h')
-rw-r--r--macosx/HBPresetsManager.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/macosx/HBPresetsManager.h b/macosx/HBPresetsManager.h
index 74427f550..4eddec365 100644
--- a/macosx/HBPresetsManager.h
+++ b/macosx/HBPresetsManager.h
@@ -55,7 +55,14 @@ extern NSString *HBPresetsChangedNotification;
*
* @param preset the preset dict.
*/
-- (void)addPreset:(NSDictionary *)preset;
+- (void)addPresetFromDictionary:(NSDictionary *)preset;
+
+/**
+ * Adds a given preset to the manager.
+ *
+ * @param preset the preset dict.
+ */
+- (void)addPreset:(HBPreset *)preset;
/**
* Deletes the presets at the specified index path.