First commit for ChapterDB support.

This commit is contained in:
Damiano Galassi committed 2015-11-25 13:47:23 +01:00
1 parent fd2a6118df
commit be1a335591
24 files changed
+1394 -230

No files matched your search

@@ -0,0 +1,34 @@
//
// SBChapterResult.h
// Subler
//
// Created by Damiano Galassi on 25/11/15.
//
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@class MP42TextSample;
@interface SBChapterResult : NSObject {
@private
NSString *_title;
NSUInteger _duration;
NSUInteger _confirmations;
NSArray<MP42TextSample *> *_chapters;
}
- (instancetype)initWithTitle:(NSString *)title duration:(NSUInteger)duration confirmations:(NSUInteger)confirmations chapters:(NSArray<MP42TextSample *> *)chapters;
@property (nonatomic, readonly) NSString *title;
@property (nonatomic, readonly) NSUInteger duration;
@property (nonatomic, readonly) NSUInteger confirmations;
@property (nonatomic, readonly) NSArray<MP42TextSample *> *chapters;
@end
NS_ASSUME_NONNULL_END