summaryrefslogtreecommitdiffstats
path: root/macosx/HBChapter.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-20 18:55:08 +0200
committerDamiano Galassi <[email protected]>2015-10-20 18:55:08 +0200
commit7f50c27989a63e87d2f17c6495d29e136ccfd837 (patch)
tree280036131fa6d7dd1a11ef84a55c4dfad3e96aca /macosx/HBChapter.h
parentc32d5236135c6be0b4987fb74de511e3332d7396 (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.h5
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