* Returns the name of the engine currently active. */
| 135 | * Returns the name of the engine currently active. |
| 136 | */ |
| 137 | std::string WinapiHandler::GetActiveEngine() const { |
| 138 | char * keyboard_name = new char[KL_NAMELENGTH]; |
| 139 | GetKeyboardLayoutName(keyboard_name); |
| 140 | std::string engine_name = GetLayoutName(keyboard_name); |
| 141 | delete keyboard_name; |
| 142 | return engine_name; |
| 143 | } |
| 144 | |
| 145 | // http://msdn.microsoft.com/en-us/library/ms927178.aspx |
| 146 | std::string WinapiHandler::GetToggleKeys() const { |
nothing calls this directly
no outgoing calls
no test coverage detected