changeset 18189:faa148210f2b

Add the declarations for mp_property_find/do.
author albeu
date Sat, 22 Apr 2006 14:26:30 +0000
parents 2a3ee651bba7
children 11d7992b37cf
files m_property.h
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;                                        \