text: /*
   * This file is part of the SDWebImage package.
   * (c) Olivier Poitrey <rs@dailymotion.com>
   *
   * For the full copyright and license information, please view the LICENSE
   * file that was distributed with this source code.
   */
  
  #import <UIKit/UIKit.h>
  #import "YZHSDWebImageManager.h"
  
  @interface UIView (YZHWebCacheOperation)
  
  /**
   *  Set the image load operation (storage in a UIView based dictionary)
   *
   *  @param operation the operation
   *  @param key       key for storing the operation
   */
  - (void)rp_setImageLoadOperation:(id)operation forKey:(NSString *)key;
  
  /**
   *  Cancel all operations for the current UIView and key
   *
   *  @param key key for identifying the operations
   */
  - (void)rp_cancelImageLoadOperationWithKey:(NSString *)key;
  
  /**
   *  Just remove the operations corresponding to the current UIView and key without cancelling them
   *
   *  @param key key for identifying the operations
   */
  - (void)rp_removeImageLoadOperationWithKey:(NSString *)key;
  
  @end
  