| 2029 | } |
| 2030 | |
| 2031 | KeyModifierMask ConfigReadContext::parseModifier(const std::string &modifiers) const |
| 2032 | { |
| 2033 | std::string s = modifiers; |
| 2034 | |
| 2035 | KeyModifierMask mask; |
| 2036 | if (!deskflow::KeyMap::parseModifiers(s, mask)) { |
| 2037 | throw ServerConfigReadException(*this, "unable to parse modifiers"); |
| 2038 | } |
| 2039 | |
| 2040 | if (mask == 0) { |
| 2041 | throw ServerConfigReadException(*this, "no modifiers specified"); |
| 2042 | } |
| 2043 | |
| 2044 | return mask; |
| 2045 | } |
| 2046 | |
| 2047 | std::string ConfigReadContext::concatArgs(const ArgList &args) |
| 2048 | { |
nothing calls this directly
no test coverage detected