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

Method Copy

plugins/base/macro-action-osc.cpp:181–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179}
180
181std::shared_ptr<MacroAction> MacroActionOSC::Copy() const
182{
183 auto result = Create(GetMacro());
184 OBSDataAutoRelease data = obs_data_create();
185 Save(data);
186 result->Load(data);
187 result->PostLoad();
188 return result;
189}
190
191void MacroActionOSC::SetProtocol(Protocol p)
192{

Callers

nothing calls this directly

Calls 3

GetMacroFunction · 0.85
LoadMethod · 0.45
PostLoadMethod · 0.45

Tested by

no test coverage detected