#define SCIM_HANGUL_ICON_ON SCIM_ICONDIR "/scim-hangul-on.png"
#define SCIM_HANGUL_ICON_OFF SCIM_ICONDIR "/scim-hangul-off.png"
+#define ISE_DEFAULT_FLUSH_EVENT_CMD 1001
+
static ConfigPointer _scim_config (0);
static Property hangul_mode(SCIM_PROP_HANGUL_MODE, "");
}
}
+void
+HangulInstance::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;
+ }
+}
+
String
HangulInstance::get_candidate_string()
{
virtual void focus_in ();
virtual void focus_out ();
virtual void trigger_property (const String &property);
+ virtual void process_helper_event (const String &helper_uuid, const Transaction &trans);
private:
bool is_backspace_key (const KeyEvent &key) const {