MCPcopy Create free account
hub / github.com/deskflow/deskflow / parseModifier

Method parseModifier

src/lib/server/Config.cpp:2031–2045  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2029}
2030
2031KeyModifierMask 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
2047std::string ConfigReadContext::concatArgs(const ArgList &args)
2048{

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected