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

Function loadEntries

plugins/schedule/macro-schedule.cpp:377–388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

375}
376
377static void loadEntries(obs_data_t *obj)
378{
379 scheduleEntries.clear();
380 OBSDataArrayAutoRelease array =
381 obs_data_get_array(obj, "macroScheduleEntries");
382 const size_t count = obs_data_array_count(array);
383 for (size_t i = 0; i < count; ++i) {
384 OBSDataAutoRelease item = obs_data_array_item(array, i);
385 scheduleEntries.emplace_back();
386 scheduleEntries.back().Load(item);
387 }
388}
389
390// ---------------------------------------------------------------------------
391// Scheduler thread

Callers

nothing calls this directly

Calls 1

LoadMethod · 0.45

Tested by

no test coverage detected