[Tizen] Binding GetDeviceClass and GetDeviceSubclass of touch event 27/292427/1
authorjoogab.yun <joogab.yun@samsung.com>
Thu, 4 May 2023 08:46:16 +0000 (17:46 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Mon, 8 May 2023 04:47:09 +0000 (13:47 +0900)
Change-Id: I85bb807fb18d00eef1147b4ba860c0f755e434f2

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

index a7dd3a1..3de1b63 100644 (file)
@@ -19763,6 +19763,44 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_Touch_GetAngle(void * jarg1, unsigned
 }
 
 
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Touch_GetDeviceClass(void * jarg1, unsigned long jarg2) {
+  int jresult ;
+  Dali::TouchEvent *arg1 = (Dali::TouchEvent *) 0 ;
+  std::size_t arg2 ;
+  Dali::Device::Class::Type result;
+
+  arg1 = (Dali::TouchEvent *)jarg1;
+  arg2 = (std::size_t)jarg2;
+  {
+    try {
+      result = ((Dali::TouchEvent const *)arg1)->GetDeviceClass(arg2);
+    } CALL_CATCH_EXCEPTION(0);
+  }
+
+  jresult = (int)result;
+  return jresult;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Touch_GetDeviceSubclass(void * jarg1, unsigned long jarg2) {
+  int jresult ;
+  Dali::TouchEvent *arg1 = (Dali::TouchEvent *) 0 ;
+  std::size_t arg2 ;
+  Dali::Device::Subclass::Type result;
+
+  arg1 = (Dali::TouchEvent *)jarg1;
+  arg2 = (std::size_t)jarg2;
+  {
+    try {
+      result = ((Dali::TouchEvent const *)arg1)->GetDeviceSubclass(arg2);
+    } CALL_CATCH_EXCEPTION(0);
+  }
+
+  jresult = (int)result;
+  return jresult;
+}
+
+
 SWIGEXPORT int SWIGSTDCALL CSharp_Dali_Touch_GetMouseButton(void * jarg1, unsigned long jarg2) {
   int jresult ;
   Dali::TouchEvent *arg1 = (Dali::TouchEvent *) 0 ;
@@ -60763,4 +60801,3 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_Dali_GetScreenSize() {
 #ifdef __cplusplus
 }
 #endif
-