MCPcopy Create free account
hub / github.com/Aegel5/SimpleSwitcher / FromString

Method FromString

src/ConfigData.h:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 void FromString(UView str) {
64 keys.clear();
65 for (const auto& hk_string : StrUtils::Split(str, ',')) {
66 keys.push_back(CHotKey::FromString(hk_string));
67 }
68 if (keys.empty()) keys.resize(1);
69 }
70};
71
72struct LayoutInfo {

Callers 1

from_jsonFunction · 0.45

Calls 5

SplitFunction · 0.85
clearMethod · 0.45
push_backMethod · 0.45
emptyMethod · 0.45
resizeMethod · 0.45

Tested by

no test coverage detected