summaryrefslogtreecommitdiffstats
path: root/macosx/HBChapter.h
diff options
context:
space:
mode:
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