#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);
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;
- }
-}
* 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:
/**