[UI Thread] Add a new API about notify key changed 88/273188/6
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 31 Mar 2022 07:34:13 +0000 (16:34 +0900)
committerHwankyu Jhun <h.jhun@samsung.com>
Fri, 1 Apr 2022 00:33:08 +0000 (09:33 +0900)
commitad347ec44782c1394df9ec23747b8158dfbecbe0
treeb5c3f74162e427547959b6adb55695d410786f0c
parentaf66590a28f4df6c16989662e0d11791a5de8545
[UI Thread] Add a new API about notify key changed

The function is added for UI thread. When adding a callback function,
vconf tries to get the glib context using getenv() with "TIZEN_GLIB_CONTEXT".
If it returns nullptr, the callback function will be invoked in the global default loop.

Adds:
 - vconf_notify_key_changed_for_ui_thread()

Change-Id: I960b972af0ed2e0376c26c5610e58cf8c8f42ef8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
vconf-compat/vconf.c
vconf-compat/vconf.h
vconf-compat/vconf.sym