}
}
+void accessibility_changed_cb(keynode_t *key, void* data)
+{
+ int vconf_value = 0;
+ if(vconf_get_bool(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, &vconf_value) == 0) {
+ LOGD("accessbility state : %d\n", vconf_value);
+
+ CISECommon *impl = CISECommon::get_instance();
+ if (impl) {
+ IISECommonEventCallback *callback = impl->get_core_event_callback();
+ if (callback) {
+ callback->set_accessibility_state(vconf_value);
+ }
+ }
+ }
+}
static Eina_Bool _client_message_cb (void *data, int type, void *event)
{
vconf_notify_key_changed(VCONFKEY_LANGSET, language_changed_cb, NULL);
vconf_notify_key_changed(VCONFKEY_SETAPPL_WIDGET_THEME_STR, theme_changed_cb, NULL);
+ vconf_notify_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, accessibility_changed_cb, NULL);
/* Should we call these callback functions here? */
language_changed_cb(NULL, NULL);
theme_changed_cb(NULL, NULL);
+ accessibility_changed_cb(NULL, NULL);
register_slot_functions();
vconf_ignore_key_changed (VCONFKEY_LANGSET, language_changed_cb);
vconf_ignore_key_changed (VCONFKEY_SETAPPL_WIDGET_THEME_STR, theme_changed_cb);
+ vconf_ignore_key_changed (VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, accessibility_changed_cb);
ecore_event_handler_del (XClientMsgHandler);
#include "languages.h"
-#define ISE_VERSION "0.9.0-1"
+#define ISE_VERSION "0.9.1-1"
#define LOCALEDIR "/usr/share/locale"
#define PRIMARY_LATIN_LANGUAGE "English"
void ise_reset_input_context();
void ise_set_layout(sclu32 layout);
void ise_set_screen_rotation(int degree);
+void ise_set_accessibility_state(bool state);
void ise_set_caps_mode(unsigned int mode);
void ise_update_cursor_position(int position);
void ise_set_return_key_type(unsigned int type);
void reset_input_context(sclint ic, const sclchar *uuid);
void set_display_language(const sclchar *language);
+ void set_accessibility_state(const sclboolean state);
void set_rotation_degree(sclint degree);
void set_caps_mode(sclu32 mode);
LOGD("Language : %s\n", (language ? language : "NULL"));
}
+void CCoreEventCallback::set_accessibility_state(const sclboolean state)
+{
+ ise_set_accessibility_state(state);
+}
+
void CCoreEventCallback::set_rotation_degree(sclint degree)
{
ise_set_screen_rotation(degree);