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

Function saveEntries

plugins/schedule/macro-schedule.cpp:366–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

364// ---------------------------------------------------------------------------
365
366static void saveEntries(obs_data_t *obj)
367{
368 OBSDataArrayAutoRelease array = obs_data_array_create();
369 for (const auto &entry : scheduleEntries) {
370 OBSDataAutoRelease item = obs_data_create();
371 entry.Save(item);
372 obs_data_array_push_back(array, item);
373 }
374 obs_data_set_array(obj, "macroScheduleEntries", array);
375}
376
377static void loadEntries(obs_data_t *obj)
378{

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.45

Tested by

no test coverage detected