}
}
+void CSCLConnectionISF::enable_soft_candidate(sclboolean enable)
+{
+ if (m_initialized) {
+ if (enable)
+ m_helper_agent.set_candidate_style(scim::ONE_LINE_CANDIDATE, scim::SOFT_CANDIDATE_WINDOW);
+ else
+ m_helper_agent.set_candidate_style(scim::ONE_LINE_CANDIDATE, scim::FIXED_CANDIDATE_WINDOW);
+ }
+}
+
void CSCLConnectionISF::candidate_hide(void)
{
if (m_initialized) {
void get_surrounding_text(const sclchar *ic_uuid, sclint maxlen_before, sclint maxlen_after) const;
void delete_surrounding_text(sclint offset, sclint len) const;
void set_candidate_position(sclint left, sclint top);
+ void enable_soft_candidate(sclboolean enable);
void candidate_hide(void);
void set_keyboard_ise_by_uuid(const sclchar *uuid);
void get_keyboard_ise(const sclchar *uuid);
}
}
+void CSCLConnection::enable_soft_candidate(sclboolean enable)
+{
+ if (m_impl) {
+ m_impl->enable_soft_candidate(enable);
+ }
+}
+
void CSCLConnection::candidate_hide(void)
{
if (m_impl) {
virtual void get_surrounding_text(const sclchar *ic_uuid, sclint maxlen_before, sclint maxlen_after) const;
virtual void delete_surrounding_text(sclint offset, sclint len) const;
virtual void set_candidate_position(sclint left, sclint top);
+ virtual void enable_soft_candidate(sclboolean enable);
virtual void candidate_hide(void);
virtual void set_keyboard_ise_by_uuid(const sclchar *uuid);
virtual void get_keyboard_ise(const sclchar *uuid);
}
}
+void CSCLCore::enable_soft_candidate(sclboolean enable)
+{
+ if (m_impl) {
+ m_impl->enable_soft_candidate(enable);
+ }
+}
+
void CSCLCore::candidate_hide(void)
{
if (m_impl) {
void set_candidate_position(sclint left, sclint top);
/**
+ * @ brief Set soft candidate style.
+ *
+ * @param[in] enable The flag for soft candidate style.
+ */
+ void enable_soft_candidate(sclboolean enable);
+
+ /**
* @ brief Request to hide candidate window.
*/
void candidate_hide(void);
m_connection.set_candidate_position(left, top);
}
+void CSCLCoreImpl::enable_soft_candidate(sclboolean enable)
+{
+ m_connection.enable_soft_candidate(enable);
+}
+
void CSCLCoreImpl::candidate_hide(void)
{
m_connection.candidate_hide();
void get_surrounding_text(const sclchar* ic_uuid, sclint maxlen_before, sclint maxlen_after) const;
void delete_surrounding_text(sclint offset, sclint len) const;
void set_candidate_position(sclint left, sclint top);
+ void enable_soft_candidate(sclboolean enable);
void candidate_hide(void);
//void get_candidate_window_geometry (const String &uuid) const;
void set_keyboard_ise_by_uuid(const sclchar *uuid);