| |
---|
| | AnthyConversion::AnthyConversion(ConfigPointer cfg) : Convertor(cfg) |
---|
| | { |
---|
| | m_iconv.set_encoding ("EUC-JP"); |
---|
| | pos = 0; |
---|
| | current = false; |
---|
| | anthy_init(); |
---|
| | context = anthy_create_context(); |
---|
| | } |
---|
| | |
---|
| |
---|
| | return; |
---|
| | } |
---|
| | |
---|
| | bool AnthyConversion::connect() { |
---|
| | return true; |
---|
| | return current; |
---|
| | } |
---|
| | void AnthyConversion::disconnect() { |
---|
| | return; |
---|
| | } |
---|
| | |
---|
| | void AnthyConversion::selected() { |
---|
| | current = true; |
---|
| | } |
---|
| | |
---|
| | void AnthyConversion::unSelected() { |
---|
| | current = false; |
---|
| | } |
---|
| | |
---|
| | |
---|
| | void AnthyConversion::buildResult() { |
---|
| |
---|
| | |