DALi Version 1.3.30
[platform/core/uifw/dali-core.git] / dali / internal / event / images / encoded-buffer-image-impl.h
index c3b239c..26fb1ae 100644 (file)
@@ -32,9 +32,6 @@ namespace Internal
 class EncodedBufferImage;
 typedef IntrusivePtr<EncodedBufferImage> EncodedBufferImagePtr;
 
-class ResourceClient;
-class ResourceManager;
-
 namespace SceneGraph
 {
 class UpdateManager;
@@ -52,7 +49,7 @@ private:
   /**
    * Construct using the supplied load policy.
    */
-  EncodedBufferImage( ReleasePolicy releasePol = IMAGE_RELEASE_POLICY_DEFAULT ) : Image( releasePol ) {}
+  EncodedBufferImage() : Image() {}
 
 public:
   /**
@@ -65,8 +62,6 @@ public:
    * @param [in] encodedImageByteCount The size in bytes of the buffer pointed to
    * by encodedImage.
    * @param [in] attributes Requested parameters for loading (size, scaling etc.).
-   * @param [in] releasePol The ReleasePolicy to apply to image. Since it cannot
-   * be recreated by dali, the default of Never will usually make sense.
    * @return A pointer to a newly allocated object, or null on error.
    */
   static EncodedBufferImagePtr New(const uint8_t * const encodedImage,
@@ -74,8 +69,7 @@ public:
                                    ImageDimensions size = ImageDimensions(0, 0),
                                    FittingMode::Type scalingMode = FittingMode::SHRINK_TO_FIT,
                                    SamplingMode::Type samplingMode = SamplingMode::BOX,
-                                   bool orientationCorrection = true,
-                                   const ReleasePolicy releasePol=Dali::Image::NEVER);
+                                   bool orientationCorrection = true);
 };
 
 } // namespace Internal