MCPcopy Create free account
hub / github.com/baldurk/renderdoc / GetRemoteHost

Method GetRemoteHost

qrenderdoc/Code/Interface/PersistantConfig.cpp:334–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

332}
333
334RemoteHost PersistantConfig::GetRemoteHost(const rdcstr &hostname)
335{
336 RemoteHost ret;
337
338 {
339 QMutexLocker autolock(&RemoteHostLock);
340 for(size_t i = 0; i < RemoteHostList.size(); i++)
341 {
342 if(RemoteHostList[i].Hostname() == hostname)
343 {
344 ret = RemoteHostList[i];
345 break;
346 }
347 }
348 }
349
350 return ret;
351}
352
353void PersistantConfig::AddRemoteHost(RemoteHost host)
354{

Callers 3

getRemoteHostMethod · 0.45
addNewHostMethod · 0.45
on_deleteHost_clickedMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected