From 6ec6fcb6f3542be162c9f5114dd010d5dd74ae62 Mon Sep 17 00:00:00 2001 From: albeu Date: Sat, 22 Apr 2006 14:26:30 +0000 Subject: Add the declarations for mp_property_find/do. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18190 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_property.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'm_property.h') diff --git a/m_property.h b/m_property.h index dc3e436cf6..269ff1b58f 100644 --- a/m_property.h +++ b/m_property.h @@ -37,6 +37,14 @@ void m_properties_print_help_list(m_option_t* list); 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; \ -- cgit v1.2.3