}
}
+static void slot_process_key_event (const scim::HelperAgent *agent, scim::KeyEvent &key, scim::uint32 &ret) {
+ CSCLCoreImpl *impl = CSCLCoreImpl::get_instance();
+ if (impl) {
+ ISCLCoreEventCallback *callback = impl->get_core_event_callback();
+ if (callback) {
+ callback->on_process_key_event (key, &ret);
+ }
+ }
+}
+
/* Internal input handler function */
Eina_Bool input_handler (void *data, Ecore_Fd_Handler *fd_handler)
{
m_helper_agent.signal_connect_associate_table_page_down (scim::slot (slot_associate_table_page_down));
m_helper_agent.signal_connect_update_associate_table_page_size (scim::slot (slot_update_associate_table_page_size));
m_helper_agent.signal_connect_show_option_window (scim::slot (slot_show_ise_option_window));
+ m_helper_agent.signal_connect_process_key_event (scim::slot (slot_process_key_event));
return ret;
}
*
*/
+#include <vector>
+#include <scim_visibility.h>
+#include <scim_types.h>
+#include <scim_event.h>
#include <ise_context.h>
#include "scltypes.h"
#include "sclcoretypes.h"
virtual void on_associate_table_page_up(sclint ic, const sclchar *uuid) {}
virtual void on_associate_table_page_down(sclint ic, const sclchar *uuid) {}
virtual void on_update_associate_table_page_size(sclint ic, const sclchar *uuid, sclint page_size) {}
+ virtual void on_process_key_event(scim::KeyEvent &key, sclu32 *ret) {}
virtual void on_set_display_language(const sclchar *language) {}
virtual void on_set_rotation_degree(sclint degree) {}