Async image loading
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / image-loader / image-atlas.cpp
@@ -19,7 +19,7 @@
 #include "image-atlas.h"
 
 // INTERNAL INCLUDES
-#include <dali-toolkit/internal/image-atlas/image-atlas-impl.h>
+#include <dali-toolkit/internal/image-loader/image-atlas-impl.h>
 
 namespace Dali
 {
@@ -58,11 +58,17 @@ ImageAtlas ImageAtlas::New(SizeType width, SizeType height,
   return ImageAtlas( internal.Get() );
 }
 
-Image ImageAtlas::GetAtlas()
+Texture ImageAtlas::GetAtlas()
 {
   return GetImplementation( *this ).GetAtlas();
 }
 
+float ImageAtlas::GetOccupancyRate() const
+{
+  return GetImplementation( *this ).GetOccupancyRate();
+}
+
+
 void ImageAtlas::SetBrokenImage( const std::string& brokenImageUrl )
 {
   GetImplementation( *this ).SetBrokenImage( brokenImageUrl );