* Deactivates the current input context, hence switching back to the previous * engine before activation. */
| 115 | * engine before activation. |
| 116 | */ |
| 117 | void IBusHandler::Deactivate() { |
| 118 | if (! ibus_available_) { |
| 119 | return; |
| 120 | } |
| 121 | |
| 122 | IBusInputContext* context = GetCurrentInputContext(); |
| 123 | if(context == NULL) { |
| 124 | return; |
| 125 | } |
| 126 | |
| 127 | ibus_input_context_disable(context); |
| 128 | } |
| 129 | |
| 130 | /* |
| 131 | * Returns the names of all the available engines in the system. |
nothing calls this directly
no outgoing calls
no test coverage detected