summaryrefslogtreecommitdiffstats
path: root/macosx/HBRange+UIAdditions.h
blob: 252ae4120a081eef0bb27735b67991a329ddc367 (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
/*  HBRange+UIAdditions.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>
#import <HandBrakeKit/HBRange.h>

@interface HBRange (UIAdditions)

@property (nonatomic, readonly) NSArray *chapters;
@property (nonatomic, readonly) NSArray *types;

@property (nonatomic, readonly) BOOL chaptersSelected;
@property (nonatomic, readonly) BOOL secondsSelected;
@property (nonatomic, readonly) BOOL framesSelected;

@end

#pragma mark - Value Transformers

@interface HBTimeTransformer : NSValueTransformer
@end

@interface HBTimeInSecondsTransformer: NSValueTransformer
@end