BU_SDWebImageOperation.h 513 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. /// A protocol represents cancelable operation.
  10. @protocol BU_SDWebImageOperation <NSObject>
  11. - (void)cancel;
  12. @end
  13. /// NSOperation conform to `BU_SDWebImageOperation`.
  14. @interface NSOperation (BU_SDWebImageOperation) <BU_SDWebImageOperation>
  15. @end