From 157f824c29240335d0093ea957e866a32c7d64b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Artur=20=C5=9Awigo=C5=84?= Date: Tue, 30 Mar 2021 18:55:34 +0200 Subject: [PATCH] [AT-SPI] Add Dali::AtspiAccessibility::StopReading() Change-Id: I0d76a57ed8a9bd17d67c69a1b91a60c5a4612680 --- dali-csharp-binder/src/atspi.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/dali-csharp-binder/src/atspi.cpp b/dali-csharp-binder/src/atspi.cpp index 68d9b1d0..5fe4de85 100755 --- a/dali-csharp-binder/src/atspi.cpp +++ b/dali-csharp-binder/src/atspi.cpp @@ -113,6 +113,22 @@ SWIGEXPORT void SWIGSTDCALL csharp_dali_accessibility_pause_resume(void *jarg1, DALI_LOG_ERROR("csharp_dali_accessibility_pause_resume() arg2=%d", arg2); } +SWIGEXPORT void SWIGSTDCALL csharp_dali_accessibility_stop_reading(void *jarg1, bool jarg2) +{ + Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *)jarg1; + bool arg2 = jarg2; + + if (!arg1) + { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Dali::Toolkit::Control is null", 0); + return; + } + + Dali::AtspiAccessibility::StopReading(arg2); + + DALI_LOG_ERROR("csharp_dali_accessibility_stop_reading() arg2=%d", arg2); +} + SWIGEXPORT void SWIGSTDCALL csharp_dali_accessibility_Enable(void *jarg1, bool jarg2) { Dali::Toolkit::Control *arg1 = (Dali::Toolkit::Control *)jarg1; -- 2.34.1