[4.0] Add NativeImageSourceQueueX
[platform/core/uifw/dali-adaptor.git] / adaptors / x11 / native-image-source-factory-x.cpp
index cbea31f..9f6881b 100644 (file)
@@ -20,7 +20,7 @@
 
 // INTERNAL HEADERS
 #include <native-image-source-impl-x.h>
-#include <native-image-source-queue-impl.h>
+#include <native-image-source-queue-impl-x.h>
 
 namespace Dali
 {
@@ -38,7 +38,7 @@ std::unique_ptr< NativeImageSource > NativeImageSourceFactoryX::CreateNativeImag
 std::unique_ptr< NativeImageSourceQueue > NativeImageSourceFactoryX::CreateNativeImageSourceQueue( unsigned int width, unsigned int height,
                                                                                                    Dali::NativeImageSourceQueue::ColorDepth depth, Any nativeImageSourceQueue )
 {
-  return std::unique_ptr< NativeImageSourceQueue >( nullptr );
+  return std::unique_ptr< NativeImageSourceQueue >( NativeImageSourceQueueX::New( width, height, depth, nativeImageSourceQueue ) );
 }
 
 // this should be created from somewhere