sclboolean ret = FALSE;
if (m_initialized && _scim_config) {
value = _scim_config->read(name, value);
+ ret = TRUE;
}
return ret;
}
sclboolean ret = FALSE;
if (m_initialized && _scim_config) {
value = _scim_config->read(name, value);
+ ret = TRUE;
}
return ret;
}
sclboolean ret = FALSE;
if (m_initialized && _scim_config) {
_scim_config->write(name, value);
+ ret = TRUE;
}
return ret;
}
sclboolean ret = FALSE;
if (m_initialized && _scim_config) {
_scim_config->write(name, value);
+ ret = TRUE;
}
return ret;
}
sclboolean ret = FALSE;
if (m_initialized && _scim_config) {
_scim_config->erase(name);
+ ret = TRUE;
+ }
+ return ret;
+}
+
+sclboolean CSCLConnectionISF::config_flush(void)
+{
+ sclboolean ret = FALSE;
+ if (m_initialized && _scim_config) {
+ _scim_config->flush();
+ ret = TRUE;
}
return ret;
}
sclboolean config_write_int(const sclchar *name, sclint value);
sclboolean config_write_string(const sclchar *name, const std::string value);
sclboolean config_erase(const sclchar *name);
+ sclboolean config_flush(void);
void send_imengine_event(sclint ic, const sclchar *ic_uuid, const sclint command, const sclu32 value);
void reset_keyboard_ise();
return ret;
}
+sclboolean CSCLConnection::config_flush(void)
+{
+ sclboolean ret = FALSE;
+ if (m_impl) {
+ ret = m_impl->config_flush();
+ }
+ return ret;
+}
+
void CSCLConnection::send_imengine_event(sclint ic, const sclchar *ic_uuid, const sclint command, const sclu32 value)
{
if (m_impl) {
virtual sclboolean config_write_int(const sclchar *name, sclint value);
virtual sclboolean config_write_string(const sclchar *name, const std::string value);
virtual sclboolean config_erase(const sclchar *name);
+ virtual sclboolean config_flush(void);
virtual void send_imengine_event(sclint ic, const sclchar *ic_uuid, const sclint command, const sclu32 value);
virtual void reset_keyboard_ise();
return ret;
}
+sclboolean CSCLCore::config_flush(void)
+{
+ sclboolean ret = FALSE;
+ if (m_impl) {
+ ret = m_impl->config_flush();
+ }
+ return ret;
+}
+
void CSCLCore::send_imengine_event(sclint ic, const sclchar *ic_uuid, const sclint command, const sclu32 value)
{
if (m_impl) {
sclboolean config_erase(const sclchar *name);
/**
+ * @brief Request ISF to permanently writes all changes.
+ */
+ sclboolean config_flush(void);
+
+ /**
* @brief Send an Event to IMEngine
*
* @param[in] ic The handle of the IMEngineInstance to receive the event.
return m_connection.config_erase(name);
}
+sclboolean CSCLCoreImpl::config_flush(void)
+{
+ return m_connection.config_flush();
+}
+
void CSCLCoreImpl::send_imengine_event(sclint ic, const sclchar *ic_uuid, const sclint command, const sclu32 value)
{
m_connection.send_imengine_event(ic, ic_uuid, command, value);
sclboolean config_write_int(const sclchar *name, sclint value);
sclboolean config_write_string(const sclchar *name, const std::string value);
sclboolean config_erase(const sclchar *name);
+ sclboolean config_flush(void);
void send_imengine_event(sclint ic, const sclchar *ic_uuid, const sclint command, const sclu32 value);
void reset_keyboard_ise();