X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=plugins%2Fdali-swig%2Fmanual%2Fcsharp%2FDaliEventHandler.cs;h=f35c1dec13784fb04885b74ca2672b6e73a1c959;hb=dcb7f468bb8be12336f8f35f637efa87130eab01;hp=80becbf16fda4e0140834d6bf73d99a42b730ed7;hpb=be7711b99f7e5db0b712194636745045d4da1154;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/plugins/dali-swig/manual/csharp/DaliEventHandler.cs b/plugins/dali-swig/manual/csharp/DaliEventHandler.cs old mode 100644 new mode 100755 index 80becbf..f35c1de --- a/plugins/dali-swig/manual/csharp/DaliEventHandler.cs +++ b/plugins/dali-swig/manual/csharp/DaliEventHandler.cs @@ -20,9 +20,21 @@ namespace Dali { using System.Runtime.InteropServices; [UnmanagedFunctionPointer(CallingConvention.StdCall)] - public delegate void DaliEventHandler(T source, U e); + public delegate R DaliEventHandlerWithReturnType(T source, U e); [UnmanagedFunctionPointer(CallingConvention.StdCall)] - public delegate R DaliEventHandlerWithReturnType(T source, U e); + internal delegate void EventCallbackDelegateType0(); + + [UnmanagedFunctionPointer(CallingConvention.StdCall)] + internal delegate void EventCallbackDelegateType1(T arg1); + + [UnmanagedFunctionPointer(CallingConvention.StdCall)] + internal delegate void EventCallbackDelegateType2(T arg1, U arg2); + + + //this should be removed with EventHandler from .NET + [UnmanagedFunctionPointer(CallingConvention.StdCall)] + public delegate void DaliEventHandler(T source, U e); + }