From: Haifeng Deng Date: Wed, 28 Nov 2012 01:03:56 +0000 (+0800) Subject: Remove ISF log when load/unload ISE module X-Git-Tag: accepted/tizen_2.1/20130425.024739~57^2~153 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4b3caeee2880c55e2fe72bd9ac275f9518aec19d;p=platform%2Fcore%2Fuifw%2Fisf.git Remove ISF log when load/unload ISE module Change-Id: Ibcf8943845bfda9e1d3d5e5ed19d26145fdc1f60 --- diff --git a/ism/src/scim_helper_module.cpp b/ism/src/scim_helper_module.cpp index 7a9458e..1ba0589 100644 --- a/ism/src/scim_helper_module.cpp +++ b/ism/src/scim_helper_module.cpp @@ -57,10 +57,6 @@ HelperModule::HelperModule (const String &name) bool HelperModule::load (const String &name) { - char buf[256] = {0}; - snprintf (buf, sizeof (buf), "time:%ld pid:%d %s %s (%s)\n", time (0), getpid (), __FILE__, __func__, name.c_str ()); - isf_save_log (buf); - try { if (!m_module.load (name, "Helper")) return false; @@ -93,7 +89,7 @@ HelperModule::load (const String &name) } if (m_set_path_info) { - m_set_path_info(m_module.get_path().c_str()); + m_set_path_info (m_module.get_path ().c_str ()); } } catch (...) { m_module.unload (); @@ -110,10 +106,6 @@ HelperModule::load (const String &name) bool HelperModule::unload () { - char buf[256] = {0}; - snprintf (buf, sizeof (buf), "time:%ld pid:%d %s %s ()\n", time (0), getpid (), __FILE__, __func__); - isf_save_log (buf); - return m_module.unload (); } diff --git a/ism/src/scim_imengine_module.cpp b/ism/src/scim_imengine_module.cpp index 8bb41d1..384220d 100644 --- a/ism/src/scim_imengine_module.cpp +++ b/ism/src/scim_imengine_module.cpp @@ -50,10 +50,6 @@ IMEngineModule::IMEngineModule (const String &name, const ConfigPointer &config) bool IMEngineModule::load (const String &name, const ConfigPointer &config) { - char buf[256] = {0}; - snprintf (buf, sizeof (buf), "time:%ld pid:%d %s %s (%s)\n", time (0), getpid (), __FILE__, __func__, name.c_str ()); - isf_save_log (buf); - m_module_name = name; try { if (!m_module.load (name, "IMEngine")) @@ -88,10 +84,6 @@ IMEngineModule::load (const String &name, const ConfigPointer &config) bool IMEngineModule::unload () { - char buf[256] = {0}; - snprintf (buf, sizeof (buf), "time:%ld pid:%d %s %s ()\n", time (0), getpid (), __FILE__, __func__); - isf_save_log (buf); - return m_module.unload (); } diff --git a/ism/src/scim_panel_agent.cpp b/ism/src/scim_panel_agent.cpp index 4a81e82..c33f37f 100644 --- a/ism/src/scim_panel_agent.cpp +++ b/ism/src/scim_panel_agent.cpp @@ -2869,12 +2869,10 @@ private: if (cmd == SCIM_TRANS_CMD_START_HELPER) { socket_start_helper (client_id, context, uuid); continue; - } - else if (cmd == SCIM_TRANS_CMD_SEND_HELPER_EVENT) { + } else if (cmd == SCIM_TRANS_CMD_SEND_HELPER_EVENT) { socket_send_helper_event (client_id, context, uuid); continue; - } - else if (cmd == SCIM_TRANS_CMD_STOP_HELPER) { + } else if (cmd == SCIM_TRANS_CMD_STOP_HELPER) { socket_stop_helper (client_id, context, uuid); continue; }