}
}
+static void slot_set_prediction_hint_data(const scim::HelperAgent *agent, int ic, const scim::String &key, const scim::String &value) {
+ CSCLCoreImpl *impl = CSCLCoreImpl::get_instance();
+ if (impl) {
+ ISCLCoreEventCallback *callback = impl->get_core_event_callback();
+ if (callback) {
+ SECURE_LOGD("key : %s, value : %s\n", key.c_str(), value.c_str());
+ callback->on_set_prediction_hint_data(key.c_str(), value.c_str());
+ }
+ }
+}
+
/* Internal input handler function */
Eina_Bool input_handler(void *data, Ecore_Fd_Handler *fd_handler)
{
m_helper_agent.signal_connect_process_input_device_event(scim::slot(slot_process_input_device_event));
m_helper_agent.signal_connect_set_prediction_hint(scim::slot(slot_set_prediction_hint));
m_helper_agent.signal_connect_set_mime_type(scim::slot(slot_set_mime_type));
+ m_helper_agent.signal_connect_set_prediction_hint_data(scim::slot(slot_set_prediction_hint_data));
m_initialized = TRUE;
}
virtual void on_set_prediction_hint(const sclchar *prediction_hint) {}
virtual void on_set_mime_type(const sclchar *mime_type) {}
+ virtual void on_set_prediction_hint_data(const sclchar *key, const sclchar *value) {}
ISCLCoreEventCallback() {
/* Current callback interface version is 1.1 */