libaurum: Update accessibility event handling to use shared pointers 18/322718/2
authorHosang Kim <hosang12.kim@samsung.com>
Thu, 10 Apr 2025 05:37:11 +0000 (14:37 +0900)
committerHosang Kim <hosang12.kim@samsung.com>
Fri, 18 Apr 2025 02:28:06 +0000 (11:28 +0900)
commit7ebbed5075ca2f82a393cbdc09db96564d0b3657
treefb9c4aa43610027734dedcba59c00b492cac6688
parentff5d727e61d430cc3655233897e57336e28f0d6c
libaurum: Update accessibility event handling to use shared pointers

Changed the EventHandler typedef to use std::function with a shared pointer to AccessibleNode instead of a string package name.
Updated the A11yEventHandler operator() to accept a shared pointer to AccessibleNode instead of a string package name.
Updated the AtspiAccessibleWatcher processCallback method to accept an optional AtspiAccessible pointer and create a shared pointer to AtspiAccessibleNode when available.

Change-Id: I4911407a203a73c3c65d80fbc3843ac8762d9903
libaurum/inc/A11yEventHandler.h
libaurum/inc/Impl/Accessibility/AtspiAccessibleWatcher.h
libaurum/src/A11yEventHandler.cc
libaurum/src/Impl/Accessibility/AtspiAccessibleWatcher.cc