Add the declarations for mp_property_find/do.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18190 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
albeu 2006-04-22 14:26:30 +00:00
parent 05249aeb3a
commit 6ec6fcb6f3
1 changed files with 8 additions and 0 deletions

View File

@ -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; \