MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / SetConnection

Method SetConnection

plugins/base/utils/connection-manager.cpp:357–364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

355}
356
357void WSConnectionSelection::SetConnection(const std::string &con)
358{
359 if (!!GetConnectionByName(con)) {
360 SetItem(con);
361 } else {
362 SetItem("");
363 }
364}
365
366void WSConnectionSelection::SetConnection(
367 const std::weak_ptr<WSConnection> &connection_)

Callers 1

UpdateEntryDataMethod · 0.45

Calls 2

GetConnectionByNameFunction · 0.85
NameMethod · 0.45

Tested by

no test coverage detected