DALi C# binding - Generic Delegates support for EventHandlers
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / SWIG / events / itemview-event.i
index 608bbff..d70708a 100644 (file)
@@ -32,14 +32,11 @@ using System.Runtime.InteropServices;
   }
 
   [UnmanagedFunctionPointer(CallingConvention.StdCall)]
-  public delegate void LayoutActivatedEventHandler(object source, LayoutActivatedEventArgs e);
-
-  [UnmanagedFunctionPointer(CallingConvention.StdCall)]
   private delegate void LayoutActivatedEventCallbackDelegate();
-  private LayoutActivatedEventHandler _itemViewLayoutActivatedEventHandler;
+  private DaliEventHandler<object,LayoutActivatedEventArgs> _itemViewLayoutActivatedEventHandler;
   private LayoutActivatedEventCallbackDelegate _itemViewLayoutActivatedEventCallbackDelegate;
 
-  public event LayoutActivatedEventHandler LayoutActivated
+  public event DaliEventHandler<object,LayoutActivatedEventArgs> LayoutActivated
   {
      add
      {