Binding InterceptKeyEvent 69/276869/2
authorjoogab.yun <joogab.yun@samsung.com>
Mon, 27 Jun 2022 07:40:13 +0000 (16:40 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Tue, 28 Jun 2022 07:37:56 +0000 (16:37 +0900)
dependency :
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-core/+/276883/
https://review.tizen.org/gerrit/#/c/platform/core/uifw/dali-adaptor/+/276868/

Change-Id: I70b12a136f167db7351755c44da09a078f1915ce

dali-csharp-binder/src/window-wrap.cpp

index 4c250a9..e82b54c 100644 (file)
@@ -1751,6 +1751,26 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_KeyEventSignal(void * jarg1) {
   return jresult;
 }
 
+SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_InterceptKeyEventSignal(void * winHandle) {
+  void * jresult ;
+  Dali::Window *window = (Dali::Window *) 0 ;
+  Dali::DevelWindow::InterceptKeyEventSignalType *result = 0 ;
+
+  window = (Dali::Window *)winHandle;
+  if (!window) {
+    SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null Dali::Window", 0);
+    return 0;
+  }
+  {
+    try {
+      result = (Dali::DevelWindow::InterceptKeyEventSignalType *) &(Dali::DevelWindow::InterceptKeyEventSignal(*window));
+    } CALL_CATCH_EXCEPTION(0);
+  }
+
+  jresult = (void *)result;
+  return jresult;
+}
+
 SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Window_TouchSignal(void * jarg1) {
   void * jresult ;
   Dali::Window *arg1 = (Dali::Window *) 0 ;