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

Method setFileResult

hi_scripting/scripting/ScriptProcessor.cpp:473–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

471}
472
473void FileChangeListener::setFileResult(const File &file, Result r)
474{
475 for (int i = 0; i < watchers.size(); i++)
476 {
477 if (file == watchers[i]->getFile())
478 {
479 watchers[i]->setResult(r);
480 }
481 }
482}
483
484Result FileChangeListener::getWatchedResult(int index)
485{

Callers

nothing calls this directly

Calls 3

setResultMethod · 0.80
sizeMethod · 0.45
getFileMethod · 0.45

Tested by

no test coverage detected