Removed unnecessary FLUSH helper event processing 88/94788/1
authorJi-hoon Lee <dalton.lee@samsung.com>
Tue, 1 Nov 2016 07:38:24 +0000 (16:38 +0900)
committerJi-hoon Lee <dalton.lee@samsung.com>
Tue, 1 Nov 2016 07:38:33 +0000 (16:38 +0900)
Change-Id: I2db6b5e84d014c0f861527332da3f8a36f0a6ad3

wrapper/scim/src/sunpinyin_imengine.cpp
wrapper/scim/src/sunpinyin_imengine.h

index 6d4ca8c..634907e 100644 (file)
@@ -96,8 +96,6 @@
 #define SCIM_FULL_PUNCT_ICON               (SCIM_ICONDIR "/full-punct.png")
 #define SCIM_HALF_PUNCT_ICON               (SCIM_ICONDIR "/half-punct.png")
 
-#define ISE_DEFAULT_FLUSH_EVENT_CMD 1001
-
 using namespace scim;
 
 static IMEngineFactoryPointer _scim_pinyin_factory (0);
@@ -642,20 +640,3 @@ SunPyInstance::reload_config(const ConfigPointer &config)
         m_factory->load_user_config();
     }
 }
-
-void
-SunPyInstance::process_helper_event (const String &helper_uuid,
-                                     const Transaction &recv)
-{
-    TransactionReader reader (recv);
-    int cmd;
-
-    if (!reader.get_command (cmd))
-        return;
-
-    switch (cmd) {
-    case ISE_DEFAULT_FLUSH_EVENT_CMD:
-        flush ();
-        break;
-    }
-}
index 47d6c8a..6dd7eda 100755 (executable)
@@ -124,7 +124,6 @@ class SunPyInstance : public IMEngineInstanceBase
      * decide whether to display candidate window according to layout
      */
     virtual void set_layout (unsigned int layout);
-    virtual void process_helper_event (const String &helper_uuid, const Transaction &trans);
 
 public:
     /**