void stop (void) {
SCIM_DEBUG_MAIN (1) << "InfoManager::stop ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT) {
String helper_uuid = get_current_helper_uuid ();
}
void update_panel_event (int cmd, uint32 nType, uint32 nValue) {
- LOGD ("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
bool move_preedit_caret (uint32 position) {
SCIM_DEBUG_MAIN (1) << "InfoManager::move_preedit_caret (" << position << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
//ISM_TRANS_CMD_PANEL_RESET_KEYBOARD_ISE
bool reset_keyboard_ise (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (1) << "InfoManager::reset_keyboard_ise ()\n";
int client = -1;
uint32 context = 0;
}
bool update_keyboard_ise_list (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (1) << "InfoManager::update_keyboard_ise_list ()\n";
int client = -1;
uint32 context = 0;
bool change_factory (const String& uuid) {
SCIM_DEBUG_MAIN (1) << "InfoManager::change_factory (" << uuid << ")\n";
- LOGD ("");
int client;
uint32 context;
#if 0
bool helper_candidate_show (void) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
bool ret = false;
int client;
bool helper_candidate_hide (void) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
bool ret = false;
int client;
bool candidate_more_window_show (void) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
int client;
uint32 context;
get_focused_context (client, context);
bool candidate_more_window_hide (void) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
int client;
uint32 context;
get_focused_context (client, context);
bool update_helper_lookup_table (const LookupTable& table) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
int client;
uint32 context;
bool select_aux (uint32 item) {
SCIM_DEBUG_MAIN (1) << "InfoManager::select_aux (" << item << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool select_candidate (uint32 item) {
SCIM_DEBUG_MAIN (1) << "InfoManager::select_candidate (" << item << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool lookup_table_page_up (void) {
SCIM_DEBUG_MAIN (1) << "InfoManager::lookup_table_page_up ()\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool lookup_table_page_down (void) {
SCIM_DEBUG_MAIN (1) << "InfoManager::lookup_table_page_down ()\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool update_lookup_table_page_size (uint32 size) {
SCIM_DEBUG_MAIN (1) << "InfoManager::update_lookup_table_page_size (" << size << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool update_candidate_item_layout (const std::vector<uint32>& row_items) {
SCIM_DEBUG_MAIN (1) << __func__ << " (" << row_items.size () << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool select_associate (uint32 item) {
SCIM_DEBUG_MAIN (1) << "InfoManager::select_associate (" << item << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool associate_table_page_up (void) {
SCIM_DEBUG_MAIN (1) << "InfoManager::associate_table_page_up ()\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool associate_table_page_down (void) {
SCIM_DEBUG_MAIN (1) << "InfoManager::associate_table_page_down ()\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool update_associate_table_page_size (uint32 size) {
SCIM_DEBUG_MAIN (1) << "InfoManager::update_associate_table_page_size (" << size << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
bool update_displayed_candidate_number (uint32 size) {
SCIM_DEBUG_MAIN (1) << __func__ << " (" << size << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
void send_longpress_event (int type, int index) {
SCIM_DEBUG_MAIN (1) << __func__ << " (" << type << ", " << index << ")\n";
- LOGD ("");
int client;
uint32 context;
get_focused_context (client, context);
bool trigger_property (const String& property) {
SCIM_DEBUG_MAIN (1) << "InfoManager::trigger_property (" << property << ")\n";
- LOGD ("");
int client;
uint32 context;
lock ();
if (it != m_helper_client_index.end ()) {
Socket client_socket (it->second.id);
m_panel_agent_manager.show_helper (it->second.id, ctx, uuid, data, len);
- LOGD ("Send ISM_TRANS_CMD_SHOW_ISE_PANEL message");
return true;
}
void hide_helper (const String& uuid, uint32 ctx = 0) {
HelperClientIndex::iterator it = m_helper_client_index.find (m_current_helper_uuid);
- LOGD ("");
if (it != m_helper_client_index.end ()) {
int client;
}
m_panel_agent_manager.hide_helper (it->second.id, ctx, uuid);
- LOGD ("Send ISM_TRANS_CMD_HIDE_ISE_PANEL message");
}
}
uint32 ctx;
get_focused_context (client, context);
ctx = get_helper_ic (client, context);
- LOGD ("Send ISM_TRANS_CMD_SHOW_ISE_OPTION_WINDOW message");
if (!m_signal_launch_option_application (uuid)) {
LOGD ("call show helper option");
uint32 ctx;
get_focused_context (client, context);
ctx = get_helper_ic (client, context);
- LOGD ("Send ISM_TRANS_CMD_RESUME_ISE_OPTION_WINDOW message");
m_panel_agent_manager.resume_helper_option_window (it->second.id, ctx, uuid);
return true;
}
uint32 ctx;
get_focused_context (client, context);
ctx = get_helper_ic (client, context);
- LOGD ("Send ISM_TRANS_CMD_SET_KEYBOARD_MODE message");
m_panel_agent_manager.set_helper_keyboard_mode (it->second.id, ctx, uuid, mode);
return true;
}
uint32 ctx;
get_focused_context (client, context);
ctx = get_helper_ic (client, context);
- LOGD ("Send ISM_TRANS_CMD_SET_PREDICTION_HINT message");
m_panel_agent_manager.set_helper_prediction_hint (it->second.id, ctx, uuid, prediction_hint);
return true;
}
uint32 ctx;
get_focused_context (client, context);
ctx = get_helper_ic (client, context);
- LOGD ("Send ISM_TRANS_CMD_SET_MIME_TYPE message");
m_panel_agent_manager.set_helper_mime_type (it->second.id, ctx, uuid, mime_type);
return true;
}
uint32 ctx;
get_focused_context (client, context);
ctx = get_helper_ic (client, context);
- LOGD ("Send ISM_TRANS_CMD_FINALIZE_CONTENT message");
m_panel_agent_manager.finalize_content_helper (it->second.id, ctx, uuid, text, cursor_pos);
return true;
}
//ISM_TRANS_CMD_SHOW_ISF_CONTROL
void show_isf_panel (int client_id) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::show_isf_panel ()\n";
m_signal_show_panel ();
}
//ISM_TRANS_CMD_HIDE_ISF_CONTROL
void hide_isf_panel (int client_id) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::hide_isf_panel ()\n";
m_signal_hide_panel ();
}
//ISM_TRANS_CMD_SHOW_ISE_PANEL
void show_ise_panel (int client_id, uint32 client, uint32 context, char* data, size_t len) {
SCIM_DEBUG_MAIN (4) << "InfoManager::show_ise_panel ()\n";
- LOGD ("");
String initial_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_INITIAL_ISE_UUID), String (""));
String default_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), String (""));
LOGD ("prepare to show ISE %d [%s] [%s]", client_id, initial_uuid.c_str (), default_uuid.c_str ());
}
void set_default_ise (const DEFAULT_ISE_T& ise) {
- LOGD ("");
+ LOGD ("set default ise : %s", ise.uuid.c_str());
scim_global_config_write (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), ise.uuid);
scim_global_config_flush ();
}
void set_should_shared_ise (const bool should_shared_ise) {
- LOGD ("");
m_should_shared_ise = should_shared_ise;
}
//SCIM_TRANS_CMD_PROCESS_KEY_EVENT
bool process_key_event (KeyEvent& key, uint32 serial) {
- LOGD ("");
-
HelperClientIndex::iterator it = m_helper_client_index.find (m_current_helper_uuid);
if (it != m_helper_client_index.end ()) {
//ISM_TRANS_CMD_GET_ACTIVE_ISE_GEOMETRY
void get_input_panel_geometry (int client_id, _OUT_ struct rectinfo& info) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
m_signal_get_input_panel_geometry (info);
}
//ISM_TRANS_CMD_GET_CANDIDATE_GEOMETRY
void get_candidate_window_geometry (int client_id, _OUT_ struct rectinfo& info) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
m_signal_get_candidate_geometry (info);
}
//ISM_TRANS_CMD_GET_ISE_LANGUAGE_LOCALE
void get_ise_language_locale (int client_id, _OUT_ char** data, _OUT_ size_t& len) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT) {
HelperClientIndex::iterator it = m_helper_client_index.find (m_current_helper_uuid);
}
void get_current_ise_geometry (rectinfo& rect) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << __func__ << " \n";
bool ret = false;
void set_ise_mode (int client_id, uint32 mode) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_ise_mode ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_mode (m_current_helper_uuid, mode);
//ISM_TRANS_CMD_SET_LAYOUT
void set_ise_layout (int client_id, uint32 layout) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_ise_layout ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_layout (m_current_helper_uuid, layout);
//ISM_TRANS_CMD_SET_INPUT_MODE
void set_ise_input_mode (int client_id, uint32 input_mode) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_ise_input_mode ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_input_mode (m_current_helper_uuid, input_mode);
//ISM_TRANS_CMD_SET_INPUT_HINT
void set_ise_input_hint (int client_id, uint32 input_hint) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_ise_input_hint ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_input_hint (m_current_helper_uuid, input_hint);
}
//ISM_TRANS_CMD_UPDATE_BIDI_DIRECTION
void update_ise_bidi_direction (int client_id, uint32 bidi_direction) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::update_ise_bidi_direction ()\n";
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
//ISM_TRANS_CMD_SET_ISE_LANGUAGE
void set_ise_language (int client_id, uint32 language) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_ise_language ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_language (m_current_helper_uuid, language);
//ISM_TRANS_CMD_SET_ISE_IMDATA
void set_ise_imdata (int client_id, const char* imdata, size_t len) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_ise_imdata ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_imdata (m_current_helper_uuid, imdata, len);
bool get_ise_imdata (int client_id, _OUT_ char** imdata, _OUT_ size_t& len) {
SCIM_DEBUG_MAIN (4) << "InfoManager::get_ise_imdata ()\n";
bool ret = false;
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
ret = get_helper_imdata (m_current_helper_uuid, imdata, len);
bool get_ise_layout (int client_id, _OUT_ uint32& layout) {
SCIM_DEBUG_MAIN (4) << "InfoManager::get_ise_layout ()\n";
bool ret = false;
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
ret = get_helper_layout (m_current_helper_uuid, layout);
//ISM_TRANS_CMD_GET_ISE_STATE
void get_ise_state (int client_id, _OUT_ int& state) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
m_signal_get_ise_state (state);
}
//ISM_TRANS_CMD_GET_ACTIVE_ISE
void get_active_ise (int client_id, _OUT_ String& default_uuid) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
default_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), String (""));
}
//ISM_TRANS_CMD_GET_ISE_LIST
void get_ise_list (int client_id, _OUT_ std::vector<String>& strlist) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::get_ise_list ()\n";
m_signal_get_ise_list (strlist);
}
//ISM_TRANS_CMD_GET_ALL_HELPER_ISE_INFO
void get_all_helper_ise_info (int client_id, _OUT_ HELPER_ISE_INFO& info) {
SCIM_DEBUG_MAIN (4) << "InfoManager::get_all_helper_ise_info ()\n";
- LOGD ("");
m_signal_get_all_helper_ise_info (info);
//1 Check if the current IME's option (setting) is available or not.
//ISM_TRANS_CMD_SET_ENABLE_HELPER_ISE_INFO
//reply SCIM_TRANS_CMD_FAIL or SCIM_TRANS_CMD_OK
void set_enable_helper_ise_info (int client_id, String appid, uint32 is_enabled) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::set_enable_helper_ise_info ()\n";
m_signal_set_enable_helper_ise_info (appid, static_cast<bool> (is_enabled));
}
//reply SCIM_TRANS_CMD_FAIL or SCIM_TRANS_CMD_OK
void show_helper_ise_list (int client_id) {
SCIM_DEBUG_MAIN (4) << "InfoManager::show_helper_ise_list ()\n";
- LOGD ("");
m_signal_show_helper_ise_list ();
}
//ISM_TRANS_CMD_SHOW_HELPER_ISE_SELECTOR
//reply SCIM_TRANS_CMD_FAIL or SCIM_TRANS_CMD_OK
void show_helper_ise_selector (int client_id) {
SCIM_DEBUG_MAIN (4) << "InfoManager::show_helper_ise_selector ()\n";
- LOGD ("");
m_signal_show_helper_ise_selector ();
}
//ISM_TRANS_CMD_IS_HELPER_ISE_ENABLED
//reply
void is_helper_ise_enabled (int client_id, String strAppid, _OUT_ uint32& nEnabled) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
int _nEnabled = 0;
m_signal_is_helper_ise_enabled (strAppid, _nEnabled);
nEnabled = (uint32)_nEnabled;
void get_ise_information (int client_id, String strUuid, _OUT_ String& strName, _OUT_ String& strLanguage,
_OUT_ int& nType, _OUT_ int& nOption, _OUT_ String& strModuleName) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
m_signal_get_ise_information (strUuid, strName, strLanguage, nType, nOption, strModuleName);
}
/*
//reply SCIM_TRANS_CMD_OK
bool reset_ise_option (int client_id) {
SCIM_DEBUG_MAIN (1) << "InfoManager::resect_ise_option ()\n";
- LOGD ("");
int client = -1;
uint32 context;
lock ();
//reply
bool set_active_ise_by_uuid (int client_id, char* buf, size_t len) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_active_ise_by_uuid ()\n";
- LOGD ("");
if (buf == NULL) {
return false;
//reply SCIM_TRANS_CMD_FAIL or SCIM_TRANS_CMD_OK
void set_initial_ise_by_uuid (int client_id, char* buf, size_t len) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_initial_ise_by_uuid ()\n";
- LOGD ("");
if (buf == NULL) {
return;
//ISM_TRANS_CMD_SET_RETURN_KEY_TYPE
void set_ise_return_key_type (int client_id, uint32 type) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_return_key_type (m_current_helper_uuid, type);
bool get_ise_return_key_type (int client_id, _OUT_ uint32& type) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
bool ret = false;
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
ret = get_helper_return_key_type (m_current_helper_uuid, type);
//ISM_TRANS_CMD_SET_RETURN_KEY_DISABLE
void set_ise_return_key_disable (int client_id, uint32 disabled) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_return_key_disable (m_current_helper_uuid, disabled);
//ISM_TRANS_CMD_GET_RETURN_KEY_DISABLE
void get_ise_return_key_disable (int client_id, _OUT_ uint32& disabled) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
get_helper_return_key_disable (m_current_helper_uuid, disabled);
//ISM_TRANS_CMD_SET_CAPS_MODE
void set_ise_caps_mode (int client_id, uint32 mode) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_ise_caps_mode ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_caps_mode (m_current_helper_uuid, mode);
//SCIM_TRANS_CMD_RELOAD_CONFIG
void reload_config (void) {
SCIM_DEBUG_MAIN (1) << "InfoManager::reload_config ()\n";
- LOGD ("");
lock ();
for (ClientRepository::iterator it = m_client_repository.begin (); it != m_client_repository.end (); ++it) {
//ISM_TRANS_CMD_SEND_WILL_SHOW_ACK
void will_show_ack (int client_id) {
SCIM_DEBUG_MAIN (4) << "InfoManager::will_show_ack ()\n";
- LOGD ("");
m_signal_will_show_ack ();
}
//ISM_TRANS_CMD_SEND_WILL_HIDE_ACK
void will_hide_ack (int client_id) {
SCIM_DEBUG_MAIN (4) << "InfoManager::will_hide_ack ()\n";
- LOGD ("");
m_signal_will_hide_ack ();
}
//ISM_TRANS_CMD_RESET_DEFAULT_ISE
void reset_default_ise (int client_id) {
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
- LOGD ("");
String initial_ise = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_INITIAL_ISE_UUID), String (""));
if (initial_ise.length () > 0)
}
//ISM_TRANS_CMD_SET_HARDWARE_KEYBOARD_MODE
void set_keyboard_mode (int client_id, uint32 mode) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::set_keyboard_mode ()\n";
m_signal_set_keyboard_mode (mode);
set_ise_keyboard_mode (client_id, mode);
//ISM_TRANS_CMD_SEND_CANDIDATE_WILL_HIDE_ACK
void candidate_will_hide_ack (int client_id) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "\n";
- LOGD ("");
m_signal_candidate_will_hide_ack ();
}
//ISM_TRANS_CMD_GET_ACTIVE_HELPER_OPTION
void get_active_helper_option (int client_id, _OUT_ uint32& option) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << __func__ << "\n";
option = get_current_helper_option ();
}
//ISM_TRANS_CMD_SHOW_ISE_OPTION_WINDOW
void show_ise_option_window (int client_id) {
SCIM_DEBUG_MAIN (4) << "InfoManager::show_ise_option_window ()\n";
- LOGD ("");
String initial_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_INITIAL_ISE_UUID), String (""));
String default_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), String (""));
LOGD ("prepare to show ISE option window %d [%s] [%s]", client_id, initial_uuid.c_str (), default_uuid.c_str ());
//ISM_TRANS_CMD_RESUME_ISE_OPTION_WINDOW
void resume_ise_option_window (int client_id) {
SCIM_DEBUG_MAIN (4) << "InfoManager::resume_ise_option_window ()\n";
- LOGD ("");
String initial_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_INITIAL_ISE_UUID), String (""));
String default_uuid = scim_global_config_read (String (SCIM_GLOBAL_CONFIG_DEFAULT_ISE_UUID), String (""));
LOGD ("prepare to resume ISE option window %d [%s] [%s]", client_id, initial_uuid.c_str (), default_uuid.c_str ());
//ISM_TRANS_CMD_SET_KEYBOARD_MODE
void set_ise_keyboard_mode (int client_id, uint32 mode) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_ise_keyboard_mode ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_keyboard_mode (m_current_helper_uuid, mode);
}
//ISM_TRANS_CMD_SET_PREDICTION_HINT
void set_prediction_hint (int client_id, String prediction_hint) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_prediction_hint ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_prediction_hint (m_current_helper_uuid, prediction_hint);
}
//ISM_TRANS_CMD_SET_MIME_TYPE
void set_ise_mime_type (int client_id, String mime_type) {
SCIM_DEBUG_MAIN (4) << "InfoManager::set_mime_type ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
set_helper_mime_type (m_current_helper_uuid, mime_type);
}
//ISM_TRANS_CMD_FINALIZE_CONTENT
void finalize_content (int client_id, String text, uint32 cursor_pos) {
SCIM_DEBUG_MAIN (4) << "InfoManager::finalize_content ()\n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
finalize_content_helper (m_current_helper_uuid, text, cursor_pos);
}
//ISM_TRANS_CMD_REGISTER_PANEL_CLIENT
void register_panel_client (uint32 client_id, uint32 id) {
- LOGD ("");
m_panel_client_map [client_id] = (int)id;
}
//SCIM_TRANS_CMD_PANEL_REGISTER_INPUT_CONTEXT
void register_input_context (uint32 client_id, uint32 context, String uuid) {
- LOGD ("");
uint32 ctx = get_helper_ic (m_panel_client_map[client_id], context);
m_client_context_uuids [ctx] = uuid;
}
//SCIM_TRANS_CMD_PANEL_REMOVE_INPUT_CONTEXT
void remove_input_context (uint32 client_id, uint32 context) {
- LOGD ("");
uint32 ctx = get_helper_ic (m_panel_client_map[client_id], context);
m_client_context_uuids.erase (ctx);
//SCIM_TRANS_CMD_PANEL_RESET_INPUT_CONTEXT
void socket_reset_input_context (int client_id, uint32 context) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_reset_input_context \n";
- LOGD ("");
if (TOOLBAR_HELPER_MODE == m_current_toolbar_mode || m_current_helper_option & ISM_HELPER_PROCESS_KEYBOARD_KEYEVENT)
socket_reset_helper_input_context (m_current_helper_uuid, m_panel_client_map[client_id], context);
//SCIM_TRANS_CMD_FOCUS_IN
void focus_in (int client_id, uint32 context, String uuid) {
- LOGD ("");
m_signal_focus_in ();
focus_in_helper (m_current_helper_uuid, m_panel_client_map[client_id], context);
SCIM_DEBUG_MAIN (2) << "PanelAgent::focus_in (" << client_id << "," << context << "," << uuid << ")\n";
//SCIM_TRANS_CMD_FOCUS_OUT
void focus_out (int client_id, uint32 context) {
- LOGD ("");
m_signal_focus_out ();
lock ();
focus_out_helper (m_current_helper_uuid, m_panel_client_map[client_id], context);
//ISM_TRANS_CMD_TURN_ON_LOG
void socket_turn_on_log (uint32 isOn) {
- LOGD ("");
-
if (isOn) {
DebugOutput::enable_debug (SCIM_DEBUG_AllMask);
DebugOutput::set_verbose_level (7);
}
#endif
unlock ();
- LOGD ("id:%d type:%d", client_id, client_info.type);
if (client_info.type == FRONTEND_CLIENT) {
SCIM_DEBUG_MAIN (4) << "It's a FrontEnd client.\n";
//SCIM_TRANS_CMD_PANEL_TURN_ON
void socket_turn_on (void) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_turn_on ()\n";
- LOGD ("");
m_signal_turn_on ();
}
//SCIM_TRANS_CMD_PANEL_TURN_OFF
void socket_turn_off (void) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_turn_off ()\n";
- LOGD ("");
m_signal_turn_off ();
}
//SCIM_TRANS_CMD_UPDATE_SCREEN
void socket_update_screen (int client_id, uint32 num) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_screen ()\n";
- LOGD ("");
if (((int) num) != m_current_screen) {
SCIM_DEBUG_MAIN (4) << "New Screen number = " << num << "\n";
//SCIM_TRANS_CMD_UPDATE_SPOT_LOCATION
void socket_update_spot_location (uint32 x, uint32 y, uint32 top_y) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_spot_location ()\n";
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "New Spot location x=" << x << " y=" << y << "\n";
m_signal_update_spot_location ((int)x, (int)y, (int)top_y);
helper_all_update_spot_location ((int)x, (int)y);
//ISM_TRANS_CMD_UPDATE_CURSOR_POSITION
void socket_update_cursor_position (uint32 cursor_pos) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_cursor_position ()\n";
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "New cursor position pos=" << cursor_pos << "\n";
helper_all_update_cursor_position ((int)cursor_pos);
}
//ISM_TRANS_CMD_UPDATE_SURROUNDING_TEXT
void socket_update_surrounding_text (String text, uint32 cursor) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
HelperClientIndex::iterator it = m_helper_client_index.find (m_current_helper_uuid);
if (it != m_helper_client_index.end ()) {
void remoteinput_callback_focus_in () {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
for (unsigned int i = 0; i < m_current_recv_remoteinput_id.size (); i++) {
lock();
void remoteinput_callback_focus_out () {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
for (unsigned int i = 0; i < m_current_recv_remoteinput_id.size (); i++) {
lock();
void remoteinput_callback_entry_metadata (uint32 hint, uint32 layout, int variation, uint32 autocapital_type, int return_key_disabled) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
for (unsigned int i = 0; i < m_current_recv_remoteinput_id.size (); i++) {
lock();
void remoteinput_callback_surrounding_text (String text, uint32 cursor) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
for (unsigned int i = 0; i < m_current_recv_remoteinput_id.size (); i++) {
lock();
void remoteinput_callback_input_resource (uint32 input_resource) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
for (unsigned int i = 0; i < m_current_recv_remoteinput_id.size (); i++) {
lock();
//ISM_TRANS_CMD_UPDATE_SELECTION
void socket_update_selection (String text) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << "...\n";
- LOGD ("");
HelperClientIndex::iterator it = m_helper_client_index.find (m_current_helper_uuid);
if (it != m_helper_client_index.end ()) {
//SCIM_TRANS_CMD_PANEL_UPDATE_FACTORY_INFO
void socket_update_factory_info (PanelFactoryInfo& info) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_factory_info ()\n";
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "New Factory info uuid=" << info.uuid << " name=" << info.name << "\n";
info.lang = scim_get_normalized_language (info.lang);
m_signal_update_factory_info (info);
//SCIM_TRANS_CMD_PANEL_SHOW_HELP
void socket_show_help (String help) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_show_help ()\n";
- LOGD ("");
m_signal_show_help (help);
}
//SCIM_TRANS_CMD_PANEL_SHOW_FACTORY_MENU
void socket_show_factory_menu (std::vector <PanelFactoryInfo>& vec) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_show_factory_menu ()\n";
- LOGD ("");
if (vec.size ())
m_signal_show_factory_menu (vec);
//SCIM_TRANS_CMD_SHOW_PREEDIT_STRING
void socket_show_preedit_string (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_show_preedit_string ()\n";
m_signal_show_preedit_string ();
}
//SCIM_TRANS_CMD_SHOW_AUX_STRING
void socket_show_aux_string (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_show_aux_string ()\n";
m_signal_show_aux_string ();
}
//SCIM_TRANS_CMD_SHOW_LOOKUP_TABLE
void socket_show_lookup_table (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_show_lookup_table ()\n";
m_signal_show_lookup_table ();
}
//ISM_TRANS_CMD_SHOW_ASSOCIATE_TABLE
void socket_show_associate_table (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_show_associate_table ()\n";
m_signal_show_associate_table ();
}
//SCIM_TRANS_CMD_HIDE_PREEDIT_STRING
void socket_hide_preedit_string (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_hide_preedit_string ()\n";
m_signal_hide_preedit_string ();
}
//SCIM_TRANS_CMD_HIDE_AUX_STRING
void socket_hide_aux_string (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_hide_aux_string ()\n";
m_signal_hide_aux_string ();
}
//SCIM_TRANS_CMD_HIDE_LOOKUP_TABLE
void socket_hide_lookup_table (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_hide_lookup_table ()\n";
m_signal_hide_lookup_table ();
}
//ISM_TRANS_CMD_HIDE_ASSOCIATE_TABLE
void socket_hide_associate_table (void) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_hide_associate_table ()\n";
m_signal_hide_associate_table ();
}
//SCIM_TRANS_CMD_UPDATE_PREEDIT_STRING
void socket_update_preedit_string (String& str, const AttributeList& attrs, uint32 caret) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_preedit_string ()\n";
- LOGD ("");
m_signal_update_preedit_string (str, attrs, (int) caret);
}
//SCIM_TRANS_CMD_UPDATE_PREEDIT_CARET
void socket_update_preedit_caret (uint32 caret) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_preedit_caret ()\n";
- LOGD ("");
m_signal_update_preedit_caret ((int) caret);
}
//ISM_TRANS_CMD_RECAPTURE_STRING
void socket_recapture_string (int offset, int len, String& preedit, String& commit, const AttributeList& attrs) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_preedit_caret ()\n";
- LOGD ("");
m_signal_recapture_string (offset, len, preedit, commit, attrs);
}
//SCIM_TRANS_CMD_UPDATE_AUX_STRING
void socket_update_aux_string (String& str, const AttributeList& attrs) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_aux_string ()\n";
- LOGD ("");
m_signal_update_aux_string (str, attrs);
m_is_imengine_aux = true;
}
//SCIM_TRANS_CMD_UPDATE_LOOKUP_TABLE
void socket_update_lookup_table (const LookupTable& table) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_lookup_table ()\n";
- LOGD ("");
//FIXME:
//g_isf_candidate_table = _isf_candidate_table;
m_signal_update_lookup_table (table);
//ISM_TRANS_CMD_UPDATE_ASSOCIATE_TABLE
void socket_update_associate_table (const LookupTable& table) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_associate_table ()\n";
- LOGD ("");
m_signal_update_associate_table (table);
}
//SCIM_TRANS_CMD_REGISTER_PROPERTIES
void socket_register_properties (const PropertyList& properties) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_register_properties ()\n";
- LOGD ("");
m_signal_register_properties (properties);
}
//SCIM_TRANS_CMD_UPDATE_PROPERTY
void socket_update_property (const Property& property) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_update_property ()\n";
- LOGD ("");
m_signal_update_property (property);
}
//ISM_TRANS_CMD_GET_KEYBOARD_ISE_LIST
void socket_get_keyboard_ise_list (String& uuid) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_get_keyboard_ise_list ()\n";
- LOGD ("");
std::vector<String> list;
list.clear ();
m_signal_get_keyboard_ise_list (list);
//ISM_TRANS_CMD_SET_CANDIDATE_UI
void socket_set_candidate_ui (uint32 portrait_line, uint32 mode) {
SCIM_DEBUG_MAIN (4) << __func__ << " \n";
- LOGD ("");
m_signal_set_candidate_ui (portrait_line, mode);
}
//ISM_TRANS_CMD_GET_CANDIDATE_UI
void socket_get_candidate_ui (String uuid) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_get_candidate_ui ()\n";
int style = 0, mode = 0;
m_signal_get_candidate_ui (style, mode);
}
//ISM_TRANS_CMD_SET_CANDIDATE_POSITION
void socket_set_candidate_position (uint32 left, uint32 top) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_set_candidate_position ()\n";
m_signal_set_candidate_position (left, top);
}
//ISM_TRANS_CMD_HIDE_CANDIDATE
void socket_hide_candidate (void) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_hide_candidate ()\n";
- LOGD ("");
m_signal_hide_preedit_string ();
m_signal_hide_aux_string ();
m_signal_hide_lookup_table ();
}
//ISM_TRANS_CMD_GET_CANDIDATE_GEOMETRY
void socket_get_candidate_geometry (String& uuid) {
- LOGD ("");
SCIM_DEBUG_MAIN (4) << __func__ << " \n";
HelperClientIndex::iterator it = m_helper_client_index.find (uuid);
//ISM_TRANS_CMD_GET_KEYBOARD_ISE
void socket_get_keyboard_ise (String uuid) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_get_keyboard_ise ()\n";
- LOGD ("");
String ise_name, ise_uuid;
int client = -1;
uint32 context = 0;
//SCIM_TRANS_CMD_START_HELPER
void socket_start_helper (int client_id, uint32 context, String uuid) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_start_helper ()\n";
- LOGD ("");
HelperClientIndex::iterator it = m_helper_client_index.find (uuid);
lock ();
uint32 ic = get_helper_ic (m_panel_client_map[client_id], context);
//SCIM_TRANS_CMD_STOP_HELPER
void socket_stop_helper (int client_id, uint32 context, String uuid) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_stop_helper ()\n";
- LOGD ("");
HelperClientIndex::iterator it = m_helper_client_index.find (uuid);
lock ();
uint32 ic = get_helper_ic (m_panel_client_map[client_id], context);
//SCIM_TRANS_CMD_SEND_HELPER_EVENT
void socket_send_helper_event (int client_id, uint32 context, String uuid, const Transaction& _nest_trans) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_send_helper_event ()\n";
- LOGD ("");
HelperClientIndex::iterator it = m_helper_client_index.find (uuid);
if (it != m_helper_client_index.end ()) {
//SCIM_TRANS_CMD_REGISTER_PROPERTIES
void socket_helper_register_properties (int client, PropertyList& properties) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_register_properties (" << client << ")\n";
- LOGD ("");
m_signal_register_helper_properties (client, properties);
#if 0 //why? remove if useless, infinite loop
//SCIM_TRANS_CMD_UPDATE_PROPERTY
void socket_helper_update_property (int client, Property& property) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_update_property (" << client << ")\n";
- LOGD ("");
m_signal_update_helper_property (client, property);
}
//SCIM_TRANS_CMD_PANEL_SEND_IMENGINE_EVENT
void socket_helper_send_imengine_event (int client, uint32 target_ic, String target_uuid , Transaction& nest_trans) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_send_imengine_event (" << client << ")\n";
- LOGD ("");
HelperInfoRepository::iterator hiit = m_helper_active_info_repository.find (client);
if (hiit != m_helper_active_info_repository.end ()) {
void socket_helper_send_key_event (int client, uint32 target_ic, String target_uuid, KeyEvent key) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_send_key_event (" << client << ")\n";
ISF_PROF_DEBUG ("first message")
- LOGD ("");
socket_helper_key_event_op (client, SCIM_TRANS_CMD_PROCESS_KEY_EVENT, target_ic, target_uuid, key);
}
//SCIM_TRANS_CMD_FORWARD_KEY_EVENT
void socket_helper_forward_key_event (int client, uint32 target_ic, String target_uuid, KeyEvent key) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_forward_key_event (" << client << ")\n";
- LOGD ("");
socket_helper_key_event_op (client, SCIM_TRANS_CMD_FORWARD_KEY_EVENT, target_ic, target_uuid, key);
}
//SCIM_TRANS_CMD_COMMIT_STRING
void socket_helper_commit_string (int client, uint32 target_ic, String target_uuid, WideString wstr) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_commit_string (" << client << ")\n";
- LOGD ("");
if (wstr.length ()) {
int target_client;
//SCIM_TRANS_CMD_GET_SURROUNDING_TEXT
void socket_helper_get_surrounding_text (int client, String uuid, uint32 maxlen_before, uint32 maxlen_after) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << " (" << client << ")\n";
- LOGD ("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
//SCIM_TRANS_CMD_DELETE_SURROUNDING_TEXT
void socket_helper_delete_surrounding_text (int client, uint32 offset, uint32 len) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << " (" << client << ")\n";
- LOGD ("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
//SCIM_TRANS_CMD_GET_SELECTION
void socket_helper_get_selection (int client, String uuid) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << " (" << client << ")\n";
- LOGD ("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
//SCIM_TRANS_CMD_SET_SELECTION
void socket_helper_set_selection (int client, uint32 start, uint32 end) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << " (" << client << ")\n";
- LOGD ("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
//SCIM_TRANS_CMD_SHOW_PREEDIT_STRING
void socket_helper_show_preedit_string (int client, uint32 target_ic, String target_uuid) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_show_preedit_string (" << client << ")\n";
- LOGD ("");
int target_client;
uint32 target_context;
get_imengine_client_context (target_ic, target_client, target_context);
//SCIM_TRANS_CMD_HIDE_PREEDIT_STRING
void socket_helper_hide_preedit_string (int client, uint32 target_ic, String target_uuid) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_hide_preedit_string (" << client << ")\n";
- LOGD ("");
int target_client;
uint32 target_context;
get_imengine_client_context (target_ic, target_client, target_context);
//SCIM_TRANS_CMD_UPDATE_PREEDIT_STRING
void socket_helper_update_preedit_string (int client, uint32 target_ic, String target_uuid, WideString preedit, WideString commit, AttributeList& attrs, uint32 caret) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_update_preedit_string (" << client << ")\n";
- LOGD ("");
int target_client;
uint32 target_context;
get_imengine_client_context (target_ic, target_client, target_context);
//SCIM_TRANS_CMD_UPDATE_PREEDIT_CARET
void socket_helper_update_preedit_caret (int client, uint32 caret) {
SCIM_DEBUG_MAIN (4) << __func__ << " (" << client << ")\n";
- LOGD ("");
int focused_client;
uint32 focused_context;
String focused_uuid;
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_register_helper (" << client << ")\n";
bool result = false;
lock ();
- LOGD ("");
String language;
int type;
int option;
//SCIM_TRANS_CMD_PANEL_REGISTER_ACTIVE_HELPER
void socket_helper_register_helper_passive (int client, HelperInfo& info) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_register_helper_passive (" << client << ")\n";
- LOGD ("");
lock ();
String language;
int type;
//ISM_TRANS_CMD_UPDATE_ISE_INPUT_CONTEXT
void socket_helper_update_input_context (int client, uint32 type, uint32 value) {
SCIM_DEBUG_MAIN (4) << "InfoManager::socket_helper_update_input_context (" << client << ")\n";
- LOGD ("");
m_signal_update_input_context ((int)type, (int)value);
int focused_client;
uint32 focused_context;
//SCIM_TRANS_CMD_SEND_PRIVATE_COMMAND
void socket_helper_send_private_command (int client, String command) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << " (" << client << ")\n";
- LOGD ("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
//SCIM_TRANS_CMD_COMMIT_CONTENT
void socket_helper_commit_content (int client, String content, String description, String mime_types) {
SCIM_DEBUG_MAIN (4) << __FUNCTION__ << " (" << client << ")\n";
- LOGD ("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
//}
void process_key_event_done (KeyEvent &key, uint32 ret, uint32 serial) {
- LOGD ("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
//ISM_TRANS_CMD_REQUEST_ISE_HIDE
void request_ise_hide () {
- LOGD("");
int focused_client;
uint32 focused_context;
get_focused_context (focused_client, focused_context);
bool PanelAgentBase::initialize (InfoManager* info_manager, const String& display, bool resident)
{
- LOGW ("not implemented for %s", m_name.c_str ());
return false;
}
bool PanelAgentBase::valid (void) const
{
- LOGW ("not implemented for %s", m_name.c_str ());
return false;
}
void PanelAgentBase::stop (void)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
-
void PanelAgentBase::update_panel_event (int client, uint32 context, int cmd, uint32 nType, uint32 nValue)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::reset_keyboard_ise (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::update_keyboard_ise_list (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::change_factory (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::helper_candidate_show (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::helper_candidate_hide (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
/* if the uuid is empty, it must send to panelclient otherwise HelperAgent
*/
void PanelAgentBase::candidate_more_window_show (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
/* if the uuid is empty, it must send to panelclient otherwise HelperAgent
*/
void PanelAgentBase::candidate_more_window_hide (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::update_helper_lookup_table (int client, uint32 context, const String& uuid, const LookupTable& table)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//select_aux
//this function called by two places, will send message to help(with uuid) or app
void PanelAgentBase::select_aux (int client, uint32 context, uint32 item)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//SCIM_TRANS_CMD_SELECT_CANDIDATE
//this function called by two places, will send message to help(with uuid) or app
void PanelAgentBase::select_candidate (int client, uint32 context, uint32 item)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::lookup_table_page_up (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::lookup_table_page_down (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::update_lookup_table_page_size (int client, uint32 context, uint32 size)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::update_candidate_item_layout (int client, uint32 context, const std::vector<uint32>& row_items)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::select_associate (int client, uint32 context, uint32 item)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::associate_table_page_up (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::associate_table_page_down (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::update_associate_table_page_size (int client, uint32 context, uint32 size)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::update_displayed_candidate_number (int client, uint32 context, uint32 size)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::send_longpress_event (int client, uint32 context, uint32 index)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::trigger_property (int client, uint32 context, const String& property)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_start_helper (int client, uint32 context, const String& ic_uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
-
void PanelAgentBase::exit (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::focus_out_helper (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::focus_in_helper (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::show_helper (int client, uint32 context, const String& uuid, char* data, size_t& len)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::hide_helper (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_mode (int client, uint32 context, const String& uuid, uint32& mode)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_language (int client, uint32 context, const String& uuid, uint32& language)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_imdata (int client, uint32 context, const String& uuid, const char* imdata, size_t& len)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_return_key_type (int client, uint32 context, const String& uuid, uint32 type)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::get_helper_return_key_type (int client, uint32 context, const String& uuid, _OUT_ uint32& type)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_return_key_disable (int client, uint32 context, const String& uuid, uint32 disabled)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::get_helper_return_key_disable (int client, uint32 context, const String& uuid, _OUT_ uint32& disabled)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_layout (int client, uint32 context, const String& uuid, uint32& layout)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_input_mode (int client, uint32 context, const String& uuid, uint32& mode)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_input_hint (int client, uint32 context, const String& uuid, uint32& hint)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_bidi_direction (int client, uint32 context, const String& uuid, uint32& direction)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_caps_mode (int client, uint32 context, const String& uuid, uint32& mode)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::show_helper_option_window (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::resume_helper_option_window (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_keyboard_mode (int client, uint32 context, const String& uuid, uint32& mode)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_prediction_hint (int client, uint32 context, const String& uuid, String& prediction_hint)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::set_helper_mime_type (int client, uint32 context, const String& uuid, String& mime_type)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::finalize_content_helper (int client, uint32 context, const String& uuid, String& text, uint32& cursor_pos)
{
- LOGW("not implemented for %s", m_name.c_str());
}
bool PanelAgentBase::process_key_event (int client, uint32 context, const String& uuid, KeyEvent& key, uint32 serial)
{
- LOGW ("not implemented for %s", m_name.c_str ());
return false;
}
bool PanelAgentBase::get_helper_geometry (int client, uint32 context, String& uuid, _OUT_ struct rectinfo& info)
{
- LOGW ("not implemented for %s", m_name.c_str ());
return false;
}
void PanelAgentBase::get_helper_imdata (int client, uint32 context, String& uuid, _OUT_ char** imdata, _OUT_ size_t& len)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::get_helper_layout (int client, uint32 context, String& uuid, uint32& layout)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
-
void PanelAgentBase::get_ise_language_locale (int client, uint32 context, String& uuid, _OUT_ char** data, _OUT_ size_t& len)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::check_option_window (int client, uint32 context, String& uuid, _OUT_ uint32& avail)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::reset_ise_option (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::reset_helper_context (int client, uint32 context, const String& uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::reload_config (int client)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_update_surrounding_text (int client, uint32 context, const String& uuid, String& text, uint32 cursor)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_remoteinput_focus_in (int client)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_remoteinput_focus_out (int client)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_remoteinput_entry_metadata (int client, uint32 hint, uint32 layout, int variation, uint32 autocapital_type, int return_key_disabled)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_remoteinput_surrounding_text (int client, String& text, uint32 cursor)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_remoteinput_input_resource (int client, uint32 input_resource)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_update_selection (int client, uint32 context, String& uuid, String text)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_get_keyboard_ise_list (int client, uint32 context, const String& uuid, std::vector<String>& list)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_get_candidate_ui (int client, uint32 context, const String& uuid, int style, int mode)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_get_candidate_geometry (int client, uint32 context, const String& uuid, struct rectinfo& info)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
+
void PanelAgentBase::socket_get_keyboard_ise (int client, uint32 context, const String& uuid, String& ise_name, String& ise_uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::helper_detach_input_context (int client, uint32 context, const String& ic_uuid)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::helper_process_imengine_event (int client, uint32 context, const String& ic_uuid, const Transaction& nest_transaction)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::process_helper_event (int client, uint32 context, String target_uuid, String active_uuid, Transaction& nest_trans)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::socket_helper_key_event (int client, uint32 context, int cmd , KeyEvent& key)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//SCIM_TRANS_CMD_GET_SURROUNDING_TEXT
//socket_helper_get_surrounding_text
void PanelAgentBase::socket_helper_get_surrounding_text (int client, uint32 context, uint32 maxlen_before, uint32 maxlen_after)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//SCIM_TRANS_CMD_DELETE_SURROUNDING_TEXT
//socket_helper_delete_surrounding_text
void PanelAgentBase::socket_helper_delete_surrounding_text (int client, uint32 context, uint32 offset, uint32 len)
{
- LOGD ("not implemented ");
}
//SCIM_TRANS_CMD_GET_SELECTION
void PanelAgentBase::socket_helper_get_selection (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//SCIM_TRANS_CMD_SET_SELECTION
void PanelAgentBase::socket_helper_set_selection (int client, uint32 context, uint32 start, uint32 end)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_update_input_context
//ISM_TRANS_CMD_UPDATE_ISE_INPUT_CONTEXT
void PanelAgentBase::update_ise_input_context (int client, uint32 context, uint32 type, uint32 value)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_send_private_command
//SCIM_TRANS_CMD_SEND_PRIVATE_COMMAND
void PanelAgentBase::send_private_command (int client, uint32 context, const String& command)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_commit_content
//SCIM_TRANS_CMD_COMMIT_CONTENT
void PanelAgentBase::commit_content (int client, uint32 context, const String& content, const String& description, const String& mime_types)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//SCIM_TRANS_CMD_UPDATE_SPOT_LOCATION
void PanelAgentBase::helper_all_update_spot_location (int client, uint32 context, String uuid, int x, int y)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//ISM_TRANS_CMD_UPDATE_CURSOR_POSITION
void PanelAgentBase::helper_all_update_cursor_position (int client, uint32 context, String uuid, int cursor_pos)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//SCIM_TRANS_CMD_UPDATE_SCREEN
void PanelAgentBase::helper_all_update_screen (int client, uint32 context, String uuid, int screen)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_commit_string
//SCIM_TRANS_CMD_COMMIT_STRING
void PanelAgentBase::commit_string (int client, uint32 context, const WideString& wstr)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_show_preedit_string
//SCIM_TRANS_CMD_SHOW_PREEDIT_STRING
void PanelAgentBase::show_preedit_string (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_hide_preedit_string
//SCIM_TRANS_CMD_HIDE_PREEDIT_STRING
void PanelAgentBase::hide_preedit_string (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_update_preedit_string
//SCIM_TRANS_CMD_UPDATE_PREEDIT_STRING
void PanelAgentBase::update_preedit_string (int client, uint32 context, WideString preedit, WideString commit, AttributeList& attrs, uint32 caret)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_update_preedit_caret
//SCIM_TRANS_CMD_UPDATE_PREEDIT_CARET
void PanelAgentBase::update_preedit_caret (int client, uint32 context, uint32 caret)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_recapture_string
//ISM_TRANS_CMD_RECAPTURE_STRING
void PanelAgentBase::recapture_string (int client, uint32 context, int offset, int len, WideString preedit, WideString commit, AttributeList& attrs)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
//socket_helper_register_helper
//SCIM_TRANS_CMD_HELPER_ATTACH_INPUT_CONTEXT
void PanelAgentBase::helper_attach_input_context_and_update_screen (int client, std::vector < std::pair <uint32, String> >& helper_ic_index,
uint32 current_screen)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::hide_helper_ise (int client, uint32 context)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
bool PanelAgentBase::process_input_device_event(int client, uint32 context, const String& uuid, uint32 type, const char *data, size_t len, _OUT_ uint32& result)
{
- LOGW("not implemented for %s", m_name.c_str());
return false;
}
void PanelAgentBase::process_key_event_done(int client, uint32 context, KeyEvent &key, uint32 ret, uint32 serial)
{
- LOGW("not implemented for %s", m_name.c_str());
}
void PanelAgentBase::request_ise_hide(int client, uint32 context)
{
- LOGW("not implemented for %s", m_name.c_str());
}
void PanelAgentBase::set_autocapital_type(int client, uint32 context, String uuid, int mode)
{
- LOGW("not implemented for %s", m_name.c_str());
}
void PanelAgentBase::update_ise_geometry (int client, uint32 context, uint32 x, uint32 y, uint32 width, uint32 height)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::remote_update_preedit_string (int client, uint32 context, const WideString str, const WideString commit, const AttributeList &attrs, uint32 caret)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::remote_send_key_event (int client, uint32 context, const KeyEvent &key)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::remote_forward_key_event (int client, uint32 context, const KeyEvent &key)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::remote_commit_string (int client, uint32 context, const WideString& wstr)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::remote_delete_surrounding_text (int client, uint32 context, uint32 offset, uint32 len)
{
- LOGD ("not implemented ");
}
void PanelAgentBase::set_prediction_allow (int client, uint32 context, String uuid, int mode)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
void PanelAgentBase::send_fail_reply (int client)
{
- LOGW ("not implemented for %s", m_name.c_str ());
}
} /* namespace scim */