summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioDefaults.h
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-12-27 10:46:04 +0000
committerritsuka <[email protected]>2014-12-27 10:46:04 +0000
commitdf8b2ff3e109699e3dadd88404911f8dfc7b210a (patch)
tree8489fee4edaf57adf55f69d0c0d28f61a5757057 /macosx/HBAudioDefaults.h
parent8df584534c0c39f5c2f298d8ba480cc906743bbf (diff)
MacGui: change the queue to work with serialized HBJob objects, remove the NSDictionary job representation and the duplicate prepareJob method. Implement NSCopying protocol in HBJob.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6655 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioDefaults.h')
-rw-r--r--macosx/HBAudioDefaults.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/macosx/HBAudioDefaults.h b/macosx/HBAudioDefaults.h
index a2e30a318..a99ff05d3 100644
--- a/macosx/HBAudioDefaults.h
+++ b/macosx/HBAudioDefaults.h
@@ -5,6 +5,7 @@
It may be used under the terms of the GNU General Public License. */
#import <Foundation/Foundation.h>
+#import "HBPresetCoding.h"
typedef NS_ENUM(NSUInteger, HBAudioTrackSelectionBehavior) {
HBAudioTrackSelectionBehaviorNone,
@@ -16,7 +17,7 @@ typedef NS_ENUM(NSUInteger, HBAudioTrackSelectionBehavior) {
* HBAudioSettings
* Stores the audio defaults settings.
*/
-@interface HBAudioDefaults : NSObject <NSCoding>
+@interface HBAudioDefaults : NSObject <NSCoding, NSCopying, HBPresetCoding>
@property (nonatomic, readwrite) HBAudioTrackSelectionBehavior trackSelectionBehavior;
@property (nonatomic, readwrite, retain) NSMutableArray *trackSelectionLanguages;
@@ -34,9 +35,6 @@ typedef NS_ENUM(NSUInteger, HBAudioTrackSelectionBehavior) {
@property(nonatomic, readonly) NSArray *audioEncoderFallbacks;
-- (void)applySettingsFromPreset:(NSDictionary *)preset;
-- (void)prepareAudioDefaultsForPreset:(NSMutableDictionary *)preset;
-
- (void)validateEncoderFallbackForVideoContainer:(int)container;
@end