}
}
+void CSCLConnectionISF::request_ise_hide()
+{
+ if (m_initialized) {
+ m_helper_agent.request_ise_hide();
+ }
+}
+
extern "C"
{
void scim_module_init(void) {
void send_private_command(const char *command);
sclint get_surrounding_text(sclint maxlen_before, sclint maxlen_after, sclchar **text, int &cursor);
void get_selection_text(sclchar **text);
+ void request_ise_hide();
private:
sclboolean m_initialized;
m_impl->get_selection_text(text);
}
}
+
+void CSCLConnection::request_ise_hide()
+{
+ if (m_impl) {
+ m_impl->request_ise_hide();
+ }
+}
virtual void send_private_command(const sclchar *command);
virtual sclint get_surrounding_text(sclint maxlen_before, sclint maxlen_after, sclchar **text, int &cursor);
virtual void get_selection_text(sclchar **text);
+ virtual void request_ise_hide();
protected:
std::string m_backend_identifier;
m_impl->get_selection_text(text);
}
}
+
+void CSCLCore::request_ise_hide() const
+{
+ if (m_impl) {
+ m_impl->request_ise_hide();
+ }
+}
\ No newline at end of file
* @param[out] text The surrounding text.
*/
void get_selection_text(sclchar **text) const;
+
+ /**
+ * @brief Request to hide ISE.
+ */
+ void request_ise_hide() const;
+
private:
CSCLCoreImpl *m_impl;
};
{
m_connection.get_selection_text(text);
}
+
+void CSCLCoreImpl::request_ise_hide()
+{
+ m_connection.request_ise_hide();
+}
\ No newline at end of file
sclint get_surrounding_text(sclint maxlen_before, sclint maxlen_after, sclchar **text, int &cursor);
void get_selection_text(sclchar **text);
+ void request_ise_hide();
private:
ISCLCoreEventCallback *m_event_callback;