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,31 @@
//
// SBChapterResult.m
// Subler
//
// Created by Damiano Galassi on 25/11/15.
//
//
#import "SBChapterResult.h"
@implementation SBChapterResult
@synthesize title = _title;
@synthesize duration = _duration;
@synthesize confirmations = _confirmations;
@synthesize chapters = _chapters;
- (instancetype)initWithTitle:(NSString *)title duration:(NSUInteger)duration confirmations:(NSUInteger)confirmations chapters:(NSArray<MP42TextSample *> *)chapters
{
self = [super init];
if (self) {
_title = [title copy];
_duration = duration;
_confirmations = confirmations;
_chapters = [chapters copy];
}
return self;
}
@end