diff options
Diffstat (limited to 'options/m_property.h')
-rw-r--r-- | options/m_property.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/options/m_property.h b/options/m_property.h index 42fe1c7ecf..d6c8c5aab3 100644 --- a/options/m_property.h +++ b/options/m_property.h @@ -48,6 +48,12 @@ enum mp_property_action { // arg: char** M_PROPERTY_PRINT, + // Like M_PROPERTY_GET_TYPE, but get a type that is compatible to the real + // type, but reflect practical limits, such as runtime-available values. + // This is mostly used for "UI" related things. + // (Example: volume property.) + M_PROPERTY_GET_CONSTRICTED_TYPE, + // Switch the property up/down by a given value. // If unimplemented, the property wrapper uses the property type as // fallback. @@ -128,6 +134,9 @@ struct m_property { void *priv; }; +struct m_property *m_property_list_find(const struct m_property *list, + const char *name); + // Access a property. // action: one of m_property_action // ctx: opaque value passed through to property implementation |