# HG changeset patch # User albeu # Date 1145715990 0 # Node ID faa148210f2b5ff7ae8ca2f6e07d6655e57b87f1 # Parent 2a3ee651bba71f1ce865c4759acffa6c0c0f2ec4 Add the declarations for mp_property_find/do. diff -r 2a3ee651bba7 -r faa148210f2b m_property.h --- a/m_property.h Sat Apr 22 14:13:14 2006 +0000 +++ b/m_property.h Sat Apr 22 14:26:30 2006 +0000 @@ -37,6 +37,14 @@ char* m_properties_expand_string(m_option_t* prop_list,char* str); +// Helpers to use MPlayer's properties + +m_option_t* mp_property_find(char* name); + +int mp_property_do(char* name,int action, void* val); + +// Helpers for property implementations + #define M_PROPERTY_CLAMP(prop,val) do { \ if(((prop)->flags & M_OPT_MIN) && (val) < (prop)->min) \ (val) = (prop)->min; \