return (m_list_messages.size() > 0);
}
+ int get_message_size() {
+ return m_list_messages.size();
+ }
+
MessageItem* get_pending_message()
{
MessageItem* ret = NULL;
m_impl->surrounding_text = NULL;
}
+ LOGD("message_queue size : %d", message_queue.get_message_size());
+
m_impl->send.clear ();
m_impl->send.put_command(SCIM_TRANS_CMD_REQUEST);
m_impl->send.put_data(m_impl->magic_active);
free (m_impl->selection_text);
m_impl->selection_text = NULL;
}
+
+ LOGD("message_queue size : %d", message_queue.get_message_size());
+
+ m_impl->send.clear ();
+ m_impl->send.put_command(SCIM_TRANS_CMD_REQUEST);
+ m_impl->send.put_data(m_impl->magic_active);
+ m_impl->send.put_command(SCIM_TRANS_CMD_PING);
+ m_impl->send.write_to_socket(m_impl->socket_active, m_impl->magic_active);
}
/**