SDImageCachesManagerOperation.h 588 B

123456789101112131415161718192021
  1. /*
  2. * This file is part of the SDWebImage package.
  3. * (c) Olivier Poitrey <rs@dailymotion.com>
  4. *
  5. * For the full copyright and license information, please view the LICENSE
  6. * file that was distributed with this source code.
  7. */
  8. #import <Foundation/Foundation.h>
  9. #import "SDWebImageCompat.h"
  10. /// This is used for operation management, but not for operation queue execute
  11. @interface SDImageCachesManagerOperation : NSOperation
  12. @property (nonatomic, assign, readonly) NSUInteger pendingCount;
  13. - (void)beginWithTotalCount:(NSUInteger)totalCount;
  14. - (void)completeOne;
  15. - (void)done;
  16. @end