summaryrefslogtreecommitdiffstats
path: root/macosx/HBRange.h
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/HBRange.h')
-rw-r--r--macosx/HBRange.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/macosx/HBRange.h b/macosx/HBRange.h
index bbffb2ede..166f33822 100644
--- a/macosx/HBRange.h
+++ b/macosx/HBRange.h
@@ -12,6 +12,7 @@ typedef NS_ENUM(NSUInteger, HBRangeType) {
HBRangeTypeChapters,
HBRangeTypeFrames,
HBRangeTypeSeconds,
+ HBRangePreviewIndex,
};
@interface HBRange : NSObject <NSCoding, NSCopying>
@@ -20,15 +21,23 @@ typedef NS_ENUM(NSUInteger, HBRangeType) {
@property (nonatomic, readwrite) HBRangeType type;
+/// HBRangeTypeChapters
@property (nonatomic, readwrite) int chapterStart;
@property (nonatomic, readwrite) int chapterStop;
+/// HBRangeTypeFrames
@property (nonatomic, readwrite) int frameStart;
@property (nonatomic, readwrite) int frameStop;
+/// HBRangeTypeSeconds
@property (nonatomic, readwrite) int secondsStart;
@property (nonatomic, readwrite) int secondsStop;
+/// HBRangePreviewIndex
+@property (nonatomic, readwrite) int previewIndex;
+@property (nonatomic, readwrite) int previewsCount;
+@property (nonatomic, readwrite) int64_t ptsToStop;
+
@property (nonatomic, readonly) NSString *duration;
@property (nonatomic, readwrite, assign) HBTitle *title;