| 1189 | } |
| 1190 | |
| 1191 | static ToggleValueType ConvertBlockInput(LPTSTR aBuf) |
| 1192 | { |
| 1193 | if (ToggleValueType toggle = ConvertOnOff(aBuf)) |
| 1194 | return toggle; |
| 1195 | if (!_tcsicmp(aBuf, _T("Send"))) return TOGGLE_SEND; |
| 1196 | if (!_tcsicmp(aBuf, _T("Mouse"))) return TOGGLE_MOUSE; |
| 1197 | if (!_tcsicmp(aBuf, _T("SendAndMouse"))) return TOGGLE_SENDANDMOUSE; |
| 1198 | if (!_tcsicmp(aBuf, _T("Default"))) return TOGGLE_DEFAULT; |
| 1199 | if (!_tcsicmp(aBuf, _T("MouseMove"))) return TOGGLE_MOUSEMOVE; |
| 1200 | if (!_tcsicmp(aBuf, _T("MouseMoveOff"))) return TOGGLE_MOUSEMOVEOFF; |
| 1201 | return TOGGLE_INVALID; |
| 1202 | } |
| 1203 | |
| 1204 | static SendModes ConvertSendMode(LPTSTR aBuf, SendModes aValueToReturnIfInvalid) |
| 1205 | { |
nothing calls this directly
no outgoing calls
no test coverage detected