obs-properties: Add a few features
Just wanted the ability to be able to add private data to the properties data. Makes it a little easier to manage data if you get updates from controls.
This commit is contained in:
@@ -61,8 +61,14 @@ typedef struct obs_property *obs_property_t;
|
||||
/* ------------------------------------------------------------------------- */
|
||||
|
||||
EXPORT obs_properties_t obs_properties_create(const char *locale);
|
||||
EXPORT obs_properties_t obs_properties_create_param(const char *locale,
|
||||
void *param, void (*destroy)(void *param));
|
||||
EXPORT void obs_properties_destroy(obs_properties_t props);
|
||||
|
||||
EXPORT void obs_properties_set_param(obs_properties_t props,
|
||||
void *param, void (*destroy)(void *param));
|
||||
EXPORT void *obs_properties_get_param(obs_properties_t props);
|
||||
|
||||
EXPORT const char *obs_properties_locale(obs_properties_t props);
|
||||
|
||||
EXPORT obs_property_t obs_properties_first(obs_properties_t props);
|
||||
|
Reference in New Issue
Block a user