//
//  CLMovieDownloaderInternal.h
//  mpl
//
//  Created by Emil Pettersson on 08/04/16.
//  Copyright © 2016 Castlabs GmbH. All rights reserved.
//

#import "CLMovieDownloader.h"
#import "CLResourceDownloadInfo.h"

@class CLResourceDownloadInfo;

@interface CLMovieDownloader () <NSURLSessionDownloadDelegate, CLSessionController> {
    NSMutableDictionary<NSString*, CLMovieDownloadSet*>* _downloadIdSetMap;
    NSURLSession* _session;
    NSMapTable<NSURLSessionDownloadTask*, CLResourceDownloadInfo*>* _tasks;
    NSMutableArray<void(^)(void)>* _backgroundCompletionHandlers;
}

@end
