Remove const at the index paramenter in image.h and modify comment 20/235620/1
authorSeungho, Baek <sbsh.baek@samsung.com>
Mon, 8 Jun 2020 06:17:16 +0000 (15:17 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Mon, 8 Jun 2020 06:17:16 +0000 (15:17 +0900)
     - Remove const keyword at the index paramenter of "std::string GenerateUrl( const Dali::FrameBuffer frameBuffer, uint8_t index )"
     - Fix some comment error

Change-Id: I30bd63ac81179ede08f11ed1c451a1ade75cd9d6
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
dali-toolkit/public-api/image-loader/image.cpp
dali-toolkit/public-api/image-loader/image.h

index 2645c07..0b26173 100644 (file)
@@ -39,7 +39,7 @@ std::string GenerateUrl( Dali::FrameBuffer frameBuffer, Pixel::Format pixelForma
   return Dali::Toolkit::TextureManager::AddTexture( texture );
 }
 
   return Dali::Toolkit::TextureManager::AddTexture( texture );
 }
 
-std::string GenerateUrl( const Dali::FrameBuffer frameBuffer, const uint8_t index )
+std::string GenerateUrl( const Dali::FrameBuffer frameBuffer, uint8_t index )
 {
   Texture texture = Dali::DevelFrameBuffer::GetColorTexture( frameBuffer, index );
   return Dali::Toolkit::TextureManager::AddTexture( texture );
 {
   Texture texture = Dali::DevelFrameBuffer::GetColorTexture( frameBuffer, index );
   return Dali::Toolkit::TextureManager::AddTexture( texture );
@@ -58,7 +58,7 @@ std::string GenerateUrl( const Dali::NativeImageSourcePtr nativeImageSource )
   return Dali::Toolkit::TextureManager::AddTexture( texture );
 }
 
   return Dali::Toolkit::TextureManager::AddTexture( texture );
 }
 
-} // TextureManager
+} // Image
 
 } // Toolkit
 
 
 } // Toolkit
 
index 7d27215..1cf2550 100644 (file)
@@ -1,5 +1,5 @@
-#ifndef DALI_TOOLKIT_DEVEL_API_IMAGE_MANAGER_H
-#define DALI_TOOLKIT_DEVEL_API_IMAGE_MANAGER_H
+#ifndef DALI_TOOLKIT_IMAGE_H
+#define DALI_TOOLKIT_IMAGE_H
 
 /*
  * Copyright (c) 2020 Samsung Electronics Co., Ltd.
 
 /*
  * Copyright (c) 2020 Samsung Electronics Co., Ltd.
@@ -60,7 +60,7 @@ DALI_TOOLKIT_API std::string GenerateUrl( const Dali::FrameBuffer frameBuffer, P
  * @param[in] index the index of the attached color texture.
  * @return the Url string representing this frame buffer
  */
  * @param[in] index the index of the attached color texture.
  * @return the Url string representing this frame buffer
  */
-DALI_TOOLKIT_API std::string GenerateUrl( const Dali::FrameBuffer frameBuffer, const uint8_t index );
+DALI_TOOLKIT_API std::string GenerateUrl( const Dali::FrameBuffer frameBuffer, uint8_t index );
 
 /**
  * @brief Generate a Url from Pixel data.
 
 /**
  * @brief Generate a Url from Pixel data.
@@ -80,10 +80,10 @@ DALI_TOOLKIT_API std::string GenerateUrl( const Dali::PixelData pixelData );
  */
 DALI_TOOLKIT_API std::string GenerateUrl( const Dali::NativeImageSourcePtr nativeImageSource );
 
  */
 DALI_TOOLKIT_API std::string GenerateUrl( const Dali::NativeImageSourcePtr nativeImageSource );
 
-} // ImageUtil
+} // Image
 
 } // Toolkit
 
 } // Dali
 
 
 } // Toolkit
 
 } // Dali
 
-#endif // DALI_TOOLKIT_DEVEL_API_IMAGE_MANAGER_H
+#endif // DALI_TOOLKIT_IMAGE_H