diff options
Diffstat (limited to 'macosx/HBAudioDefaults.h')
-rw-r--r-- | macosx/HBAudioDefaults.h | 6 |
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 |