Update BitmapLoader to use PixelData
[platform/core/uifw/dali-adaptor.git] / adaptors / devel-api / adaptor-framework / bitmap-loader.cpp
index dabfbd1..6f25a81 100644 (file)
@@ -70,24 +70,14 @@ bool BitmapLoader::IsLoaded()
   return GetImplementation(*this).IsLoaded();
 }
 
-unsigned char* BitmapLoader::GetPixelData() const
+std::string BitmapLoader::GetUrl() const
 {
-  return GetImplementation(*this).GetPixelData();
-}
-
-unsigned int BitmapLoader::GetImageHeight() const
-{
-  return GetImplementation(*this).GetImageHeight();
+  return GetImplementation(*this).GetUrl();
 }
 
-unsigned int BitmapLoader::GetImageWidth() const
+PixelDataPtr BitmapLoader::GetPixelData() const
 {
-  return GetImplementation(*this).GetImageWidth();
-}
-
-Pixel::Format BitmapLoader::GetPixelFormat() const
-{
-  return GetImplementation(*this).GetPixelFormat();
+  return GetImplementation(*this).GetPixelData();
 }
 
 } // namespace Dali