X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fimage-loader%2Fimage.h;h=ad2f56e6e02d0fb6ee0797509fc4ffde73373efc;hb=031cd99e1d2f5bec6d49e669c8f5edfb588a2aae;hp=6fb28161f9d31bad6211be4813d2c3c02f6fb492;hpb=c04abea569f3831a717ff5570c68da76bd2804d6;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/image-loader/image.h b/dali-toolkit/public-api/image-loader/image.h index 6fb2816..ad2f56e 100644 --- a/dali-toolkit/public-api/image-loader/image.h +++ b/dali-toolkit/public-api/image-loader/image.h @@ -24,6 +24,7 @@ // INTERNAL INCLUDES #include +#include namespace Dali { @@ -44,9 +45,9 @@ namespace Image * @param[in] pixelFormat the pixel format for this frame buffer * @param[in] width the width for this frame buffer * @param[in] height the height for this frame buffer - * @return the Url string representing this frame buffer + * @return the ImageUrl representing this frame buffer */ -DALI_TOOLKIT_API std::string GenerateUrl(const Dali::FrameBuffer frameBuffer, Pixel::Format pixelFormat, uint32_t width, uint32_t height); +DALI_TOOLKIT_API Dali::Toolkit::ImageUrl GenerateUrl(const Dali::FrameBuffer frameBuffer, Pixel::Format pixelFormat, uint32_t width, uint32_t height); /** * @brief Generate a Url from frame buffer. @@ -55,27 +56,27 @@ DALI_TOOLKIT_API std::string GenerateUrl(const Dali::FrameBuffer frameBuffer, Pi * This method does not check for duplicates, If same frame buffer is entered multiple times, a different URL is returned each time. * @param[in] frameBuffer the frame buffer to converted to Url * @param[in] index the index of the attached color texture. - * @return the Url string representing this frame buffer + * @return the ImageUrl representing this frame buffer */ -DALI_TOOLKIT_API std::string GenerateUrl(const Dali::FrameBuffer frameBuffer, uint8_t index); +DALI_TOOLKIT_API Dali::Toolkit::ImageUrl GenerateUrl(const Dali::FrameBuffer frameBuffer, uint8_t index); /** * @brief Generate a Url from Pixel data. * This Url can be used in visuals to render the pixel data. * @note This method does not check for duplicates, If same pixel data is entered multiple times, a different URL is returned each time. * @param[in] pixelData the pixel data to converted to Url - * @return the Url string representing this pixel data + * @return the ImageUrl representing this pixel data */ -DALI_TOOLKIT_API std::string GenerateUrl(const Dali::PixelData pixelData); +DALI_TOOLKIT_API Dali::Toolkit::ImageUrl GenerateUrl(const Dali::PixelData pixelData); /** * @brief Generate a Url from native image source. * This Url can be used in visuals to render the native image source. * @note This method does not check for duplicates, If same native image source is entered multiple times, a different URL is returned each time. * @param[in] nativeImageSource the native image source to converted to Url - * @return the Url string representing this native image source + * @return the ImageUrl representing this native image source */ -DALI_TOOLKIT_API std::string GenerateUrl(const Dali::NativeImageSourcePtr nativeImageSource); +DALI_TOOLKIT_API Dali::Toolkit::ImageUrl GenerateUrl(const Dali::NativeImageSourcePtr nativeImageSource); } // namespace Image