MCPcopy Create free account
hub / github.com/christophhart/HISE / setPostCallback

Method setPostCallback

hi_scripting/scripting/api/ScriptExpansion.cpp:175–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

173}
174
175void ScriptUserPresetHandler::setPostCallback(var presetPostCallback)
176{
177 postCallback = WeakCallbackHolder(getScriptProcessor(), this, presetPostCallback, 1);
178 postCallback.incRefCount();
179 postCallback.addAsSource(this, "postCallback");
180 postCallback.setThisObject(this);
181
182}
183
184void ScriptUserPresetHandler::setPostSaveCallback(var presetPostSaveCallback)
185{

Callers

nothing calls this directly

Calls 4

WeakCallbackHolderClass · 0.85
incRefCountMethod · 0.80
setThisObjectMethod · 0.80
addAsSourceMethod · 0.45

Tested by

no test coverage detected