drag and drop: implements drag source events
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / drag-and-drop.cpp
index 541d116..707f691 100644 (file)
@@ -39,9 +39,9 @@ DragAndDrop DragAndDrop::Get()
   return Internal::Adaptor::GetDragAndDrop();
 }
 
-bool DragAndDrop::StartDragAndDrop(Dali::Actor source, Dali::Actor shadow, const std::string& dragData)
+bool DragAndDrop::StartDragAndDrop(Dali::Actor source, Dali::Window shadowWindow, const DragData& dragData, Dali::DragAndDrop::SourceFunction callback)
 {
-  return GetImplementation(*this).StartDragAndDrop(source, shadow, dragData);
+  return GetImplementation(*this).StartDragAndDrop(source, shadowWindow, dragData, callback);
 }
 
 bool DragAndDrop::AddListener(Dali::Actor target, DragAndDropFunction callback)
@@ -49,4 +49,9 @@ bool DragAndDrop::AddListener(Dali::Actor target, DragAndDropFunction callback)
   return GetImplementation(*this).AddListener(target, callback);
 }
 
+bool DragAndDrop::RemoveListener(Dali::Actor target)
+{
+  return GetImplementation(*this).RemoveListener(target);
+}
+
 } // namespace Dali