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

Method ClearData

src/render_panel/gr_settings.cpp:104–117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102 }
103
104 void GrSettings::ClearData() {
105 this->SetDeviceId("");
106 if (cat comp = grApp->GetCompanion(); comp) {
107 comp->UpdateDeviceId("");
108 }
109 this->SetDeviceName("");
110 this->SetDeviceRandomPwd("");
111 this->SetDeviceSecurityPwd("");
112 this->SetSpvrServerHost("");
113 this->SetSpvrServerPort("");
114 this->SetRelayServerHost("");
115 this->SetRelayServerPort("");
116 this->SetSpvrAccessInfo("");
117 }
118
119 void GrSettings::SetEnableResResize(bool enabled) {
120 sp_->Put(kStEncoderResResize, enabled ? kStTrue : kStFalse);

Callers 1

StSecurityMethod · 0.80

Calls 10

SetDeviceIdMethod · 0.95
SetDeviceNameMethod · 0.95
SetDeviceRandomPwdMethod · 0.95
SetDeviceSecurityPwdMethod · 0.95
SetSpvrServerHostMethod · 0.95
SetSpvrServerPortMethod · 0.95
SetRelayServerHostMethod · 0.95
SetRelayServerPortMethod · 0.95
SetSpvrAccessInfoMethod · 0.95
GetCompanionMethod · 0.80

Tested by

no test coverage detected