Fix issue send_private_command doesn't work 44/68044/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 2 May 2016 02:15:10 +0000 (11:15 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 2 May 2016 02:15:10 +0000 (11:15 +0900)
Change-Id: Idf136839028b4aa7bde363f5566f94e7e6f36a9e

ism/src/isf_panel_agent_base.cpp
ism/src/isf_panel_agent_base.h
ism/src/scim_helper.cpp

index f4d26759bd7ade1a13fad3d47008bfc5181ca3d1..7a6f7716c98317c07f202bfe8303e73b81de7e27 100644 (file)
@@ -428,7 +428,7 @@ void PanelAgentBase::update_ise_input_context (int client, uint32 context, uint3
 
 //socket_helper_send_private_command
 //SCIM_TRANS_CMD_SEND_PRIVATE_COMMAND
-void PanelAgentBase::send_private_command (int client, uint32 context, String command)
+void PanelAgentBase::send_private_command (int client, uint32 context, const String& command)
 {
     LOGW ("not implemented for %s", m_name.c_str ());
 }
index cc403519fbf109f30e57c648b4a071824619f1bf..ddf8501bb14c8ccf69202e14a05c11e97863f9fb 100644 (file)
@@ -689,7 +689,7 @@ public:
      *
      * @return none.
      */
-    virtual void send_private_command (int client, uint32 context, String command);
+    virtual void send_private_command (int client, uint32 context, const String& command);
 
     /**
      * @brief helper_all_update_spot_location.
index c0ad81b4a33f46dc28fbac5ade8bce5e4211cafe..be3a34fd357e73fff8b1966a1c27c8349f49637e 100644 (file)
@@ -1480,7 +1480,7 @@ HelperAgent::send_key_event (int            ic,
     bool ret = false;
     if (!m_impl->si.null ()) {
         ret = m_impl->si->process_key_event (key);
-        LOGD ("imengine(%s) prceoss key %d return %d", m_impl->si->get_factory_uuid().c_str(), key.code, ret);
+        LOGD ("imengine(%s) process key %d return %d", m_impl->si->get_factory_uuid().c_str(), key.code, ret);
     }
     if (ret == false && m_impl->socket_active.is_connected ()) {
         m_impl->send.clear ();