summaryrefslogtreecommitdiffstats
path: root/macosx/HBSubtitlesDefaults.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-22 16:22:46 +0200
committerDamiano Galassi <[email protected]>2015-10-22 16:22:46 +0200
commitd49d34b76ba5ee2e417479e2098b687453c2962a (patch)
treecb83a729a4d3e392b98eea8fd7905ebcffbfe1f1 /macosx/HBSubtitlesDefaults.h
parent618bfd0bb81b4d70e640e49835da19177d7b2650 (diff)
MacGui: partial undo/redo support in the defaults sheets.
Diffstat (limited to 'macosx/HBSubtitlesDefaults.h')
-rw-r--r--macosx/HBSubtitlesDefaults.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/macosx/HBSubtitlesDefaults.h b/macosx/HBSubtitlesDefaults.h
index 8b3fa6d4f..148f8ad82 100644
--- a/macosx/HBSubtitlesDefaults.h
+++ b/macosx/HBSubtitlesDefaults.h
@@ -25,7 +25,7 @@ typedef NS_ENUM(NSUInteger, HBSubtitleTrackBurnInBehavior) {
@interface HBSubtitlesDefaults : NSObject <NSSecureCoding, NSCopying, HBPresetCoding>
@property (nonatomic, readwrite) HBSubtitleTrackSelectionBehavior trackSelectionBehavior;
-@property (nonatomic, readwrite, strong) NSMutableArray *trackSelectionLanguages;
+@property (nonatomic, readwrite, strong) NSMutableArray<NSString *> *trackSelectionLanguages;
@property (nonatomic, readwrite) BOOL addForeignAudioSearch;
@property (nonatomic, readwrite) BOOL addForeignAudioSubtitle;
@@ -35,6 +35,8 @@ typedef NS_ENUM(NSUInteger, HBSubtitleTrackBurnInBehavior) {
@property (nonatomic, readwrite) BOOL burnInDVDSubtitles;
@property (nonatomic, readwrite) BOOL burnInBluraySubtitles;
+@property (nonatomic, readwrite, weak, nullable) NSUndoManager *undo;
+
@end
NS_ASSUME_NONNULL_END