MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / SetWorkMode

Method SetWorkMode

src/client/ct_settings.cpp:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 }
74
75 void Settings::SetWorkMode(SwitchWorkMode::WorkMode mode) {
76 work_mode_ = mode;
77 sp_->Put(kKeyWorkMode, std::to_string((int)mode));
78 }
79
80 void Settings::SetScaleMode(ScaleMode mode) {
81 scale_mode_ = mode;

Callers 2

SubModePanelMethod · 0.80

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected