summaryrefslogtreecommitdiffstats
path: root/macosx/HBChapter.h
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2017-12-11 14:58:15 +0100
committerDamiano Galassi <[email protected]>2017-12-11 14:58:15 +0100
commitd55ae8e31f578e6ba254608e198c5931beba4084 (patch)
tree6329c4f913940860a463cb8fd56ac0f13b0b7a1d /macosx/HBChapter.h
parent05f181970d9c68c76ad9a686fee6f284412b5eb6 (diff)
MacGui: add a "Start" column in the chapters tableview.
Diffstat (limited to 'macosx/HBChapter.h')
-rw-r--r--macosx/HBChapter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/HBChapter.h b/macosx/HBChapter.h
index 070a0f53d..b766d5979 100644
--- a/macosx/HBChapter.h
+++ b/macosx/HBChapter.h
@@ -10,10 +10,11 @@ NS_ASSUME_NONNULL_BEGIN
@interface HBChapter : NSObject <NSSecureCoding, NSCopying>
-- (instancetype)initWithTitle:(NSString *)title index:(NSUInteger)idx duration:(uint64_t)duration NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithTitle:(NSString *)title index:(NSUInteger)idx timestamp:(uint64_t)timestamp duration:(uint64_t)duration NS_DESIGNATED_INITIALIZER;
@property (nonatomic, readwrite, copy) NSString *title;
-@property (nonatomic, readonly) NSString *duration;
+@property (nonatomic, readonly) uint64_t duration;
+@property (nonatomic, readonly) uint64_t timestamp;
@property (nonatomic, readonly) NSUInteger index;
@property (nonatomic, readwrite, weak, nullable) NSUndoManager *undo;