libobs: Add obs_save_sources_filtered (skip)

(Note: This commit breaks UI compilation.  Skip if bisecting)

Adds a means of saving specific sources that the front-end chooses,
rather than being forced to use the now-removed "user list".
This commit is contained in:
Palana
2015-12-22 05:48:59 -08:00
committed by jp9000
parent 70fec7ae8e
commit ec86bdaa09
2 changed files with 20 additions and 2 deletions
+4
View File
@@ -560,6 +560,10 @@ EXPORT void obs_load_sources(obs_data_array_t *array);
/** Saves sources to a data array */
EXPORT obs_data_array_t *obs_save_sources(void);
typedef bool (*obs_save_source_filter_cb)(void *data, obs_source_t *source);
EXPORT obs_data_array_t *obs_save_sources_filtered(obs_save_source_filter_cb cb,
void *data);
/* ------------------------------------------------------------------------- */
/* View context */