|
@@ -145,6 +145,7 @@ struct obs_properties;
|
|
|
struct obs_property {
|
|
|
const char *name;
|
|
|
const char *desc;
|
|
|
+ const char *long_desc;
|
|
|
enum obs_property_type type;
|
|
|
bool visible;
|
|
|
bool enabled;
|
|
@@ -605,6 +606,11 @@ void obs_property_set_description(obs_property_t *p, const char *description)
|
|
|
if (p) p->desc = description;
|
|
|
}
|
|
|
|
|
|
+void obs_property_set_long_description(obs_property_t *p, const char *long_desc)
|
|
|
+{
|
|
|
+ if (p) p->long_desc = long_desc;
|
|
|
+}
|
|
|
+
|
|
|
const char *obs_property_name(obs_property_t *p)
|
|
|
{
|
|
|
return p ? p->name : NULL;
|
|
@@ -615,6 +621,11 @@ const char *obs_property_description(obs_property_t *p)
|
|
|
return p ? p->desc : NULL;
|
|
|
}
|
|
|
|
|
|
+const char *obs_property_long_description(obs_property_t *p)
|
|
|
+{
|
|
|
+ return p ? p->long_desc : NULL;
|
|
|
+}
|
|
|
+
|
|
|
enum obs_property_type obs_property_get_type(obs_property_t *p)
|
|
|
{
|
|
|
return p ? p->type : OBS_PROPERTY_INVALID;
|