/* * This file is part of the SDWebImage package. * (c) Olivier Poitrey * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ #import #import "SDWebImageDownloaderDelegate.h" #import "SDWebImageManagerDelegate.h" @interface SDWebImageManager : NSObject { NSMutableArray *delegates; NSMutableArray *downloaders; NSMutableDictionary *downloaderForURL; NSMutableArray *failedURLs; } + (id)sharedManager; - (UIImage *)imageWithURL:(NSURL *)url; - (void)downloadWithURL:(NSURL *)url delegate:(id)delegate; - (void)cancelForDelegate:(id)delegate; @end