diff options
author | Damiano Galassi <[email protected]> | 2015-10-20 18:55:08 +0200 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2015-10-20 18:55:08 +0200 |
commit | 7f50c27989a63e87d2f17c6495d29e136ccfd837 (patch) | |
tree | 280036131fa6d7dd1a11ef84a55c4dfad3e96aca /macosx/HBChapter.h | |
parent | c32d5236135c6be0b4987fb74de511e3332d7396 (diff) |
MacGui: added undo/redo support to the video, picture, filters, chapters and range parts of HBJob.
Diffstat (limited to 'macosx/HBChapter.h')
-rw-r--r-- | macosx/HBChapter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBChapter.h b/macosx/HBChapter.h index c72243026..caee0be8b 100644 --- a/macosx/HBChapter.h +++ b/macosx/HBChapter.h @@ -10,10 +10,13 @@ NS_ASSUME_NONNULL_BEGIN @interface HBChapter : NSObject <NSSecureCoding, NSCopying> -- (instancetype)initWithTitle:(NSString *)title duration:(uint64_t)duration NS_DESIGNATED_INITIALIZER; +- (instancetype)initWithTitle:(NSString *)title index:(NSUInteger)idx duration:(uint64_t)duration NS_DESIGNATED_INITIALIZER; @property (nonatomic, readwrite) NSString *title; @property (nonatomic, readonly) NSString *duration; +@property (nonatomic, readwrite) NSUInteger index; + +@property (nonatomic, readwrite, weak, nullable) NSUndoManager *undo; @end |