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

Method UpdateDeviceName

src/render_panel/devices/gr_device_manager.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 Result<std::shared_ptr<spvr::SpvrDevice>, spvr::SpvrApiError> GrDeviceManager::UpdateDeviceName(const std::string& device_name) {
51 auto host = settings_->GetSpvrServerHost();
52 auto port = settings_->GetSpvrServerPort();
53 auto appkey = grApp->GetAppkey();
54 auto device_id = settings_->GetDeviceId();
55 auto r = spvr::SpvrDeviceApi::UpdateDeviceName(host, port, appkey, device_id, device_name);
56 return r;
57 }
58
59 Result<std::shared_ptr<spvr::SpvrDevice>, spvr::SpvrApiError> GrDeviceManager::UpdateUsedTime(int period) {
60 auto host = settings_->GetSpvrServerHost();

Callers 1

TabServerMethod · 0.80

Calls 4

GetSpvrServerHostMethod · 0.80
GetSpvrServerPortMethod · 0.80
GetAppkeyMethod · 0.80
GetDeviceIdMethod · 0.45

Tested by

no test coverage detected