2015-10-09 12:34:42 +02:00
|
|
|
/* HBChapter.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>
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
|
|
|
@interface HBChapter : NSObject <NSSecureCoding, NSCopying>
|
|
|
|
|
2017-12-11 14:58:15 +01:00
|
|
|
- (instancetype)initWithTitle:(NSString *)title index:(NSUInteger)idx timestamp:(uint64_t)timestamp duration:(uint64_t)duration NS_DESIGNATED_INITIALIZER;
|
2015-10-09 12:34:42 +02:00
|
|
|
|
2016-12-27 11:53:11 +01:00
|
|
|
@property (nonatomic, readwrite, copy) NSString *title;
|
2017-12-11 14:58:15 +01:00
|
|
|
@property (nonatomic, readonly) uint64_t duration;
|
|
|
|
@property (nonatomic, readonly) uint64_t timestamp;
|
2016-03-14 09:50:42 +01:00
|
|
|
@property (nonatomic, readonly) NSUInteger index;
|
2015-10-20 18:55:08 +02:00
|
|
|
|
|
|
|
@property (nonatomic, readwrite, weak, nullable) NSUndoManager *undo;
|
2015-10-09 12:34:42 +02:00
|
|
|
|
|
|
|
@end
|
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|