summaryrefslogtreecommitdiffstats
path: root/macosx/HBRange.h
blob: 06ea826cac34adf69b833087f520e04130fc846d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/*  HBRange.h $

 This file is part of the HandBrake source code.
 Homepage: <http://handbrake.fr/>.
 It may be used under the terms of the GNU General Public License. */

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, HBRangeType) {
    HBRangeTypeChapters,
    HBRangeTypeFrames,
    HBRangeTypeSeconds,
};

@interface HBRange : NSObject <NSCoding>

@property (nonatomic, readwrite) HBRangeType type;

@property (nonatomic, readwrite) NSInteger chapterStart;
@property (nonatomic, readwrite) NSInteger chapterStop;

@property (nonatomic, readwrite) NSInteger frameStart;
@property (nonatomic, readwrite) NSInteger frameStop;

@property (nonatomic, readwrite) NSInteger secondsStart;
@property (nonatomic, readwrite) NSInteger secondsStop;

@end