using namespace scl;
+static void language_changed_cb(keynode_t *key, void* data);
+static void accessibility_changed_cb(keynode_t *key, void* data);
+
CSCLCoreUIEFL::CSCLCoreUIEFL()
{
m_initialized = FALSE;
g_websocket.init();
#endif
+ vconf_notify_key_changed(VCONFKEY_LANGSET, language_changed_cb, NULL);
+ vconf_notify_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, accessibility_changed_cb, NULL);
+
return TRUE;
}
#ifdef WEBSOCKET
g_websocket.exit();
#endif
+
+ vconf_ignore_key_changed(VCONFKEY_LANGSET, language_changed_cb);
+ vconf_ignore_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, accessibility_changed_cb);
}
sclwindow CSCLCoreUIEFL::get_main_window()
set_keyboard_size_hints(portrait, landscape);
#ifdef WAYLAND
- vconf_notify_key_changed(VCONFKEY_LANGSET, language_changed_cb, NULL);
-
- vconf_notify_key_changed(VCONFKEY_SETAPPL_ACCESSIBILITY_TTS, accessibility_changed_cb, NULL);
-
evas_object_smart_callback_add(main_window, "wm,rotation,changed", win_rotation_changed_cb, this);
evas_object_show(main_window);
#else