Merge "DALi C# binding - Generic Delegates support for EventHandlers" into devel...
[platform/core/uifw/dali-toolkit.git] / plugins / dali-swig / manual / csharp / DaliEventHandler.cs
1 namespace Dali {
2
3         using System;
4         using System.Runtime.InteropServices;
5
6         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
7         public delegate void DaliEventHandler<T,U>(T source, U e);
8
9         [UnmanagedFunctionPointer(CallingConvention.StdCall)]
10         public delegate R DaliEventHandlerWithReturnType<T,U,R>(T source, U e, R ret);
11
12 }