[MPlayer-cvslog] CVS: main m_property.h,1.2,1.3

Alban Bedel CVS syncmail at mplayerhq.hu
Sat Apr 22 16:26:32 CEST 2006


CVS change done by Alban Bedel CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv1910

Modified Files:
	m_property.h 
Log Message:
Add the declarations for mp_property_find/do.


Index: m_property.h
===================================================================
RCS file: /cvsroot/mplayer/main/m_property.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- m_property.h	22 Mar 2006 16:35:16 -0000	1.2
+++ m_property.h	22 Apr 2006 14:26:30 -0000	1.3
@@ -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;                                        \




More information about the MPlayer-cvslog mailing list