diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-01 17:05:18 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2008-10-01 17:05:18 +0000 |
commit | 70901aa00603d6e05e9e26369bc6d26e526c5228 (patch) | |
tree | 0847d0e604319f74b2d0d27c365f8294ce415144 /m_property.h | |
parent | 0189fa7cacc8c61b151f71f21e547265f6993b56 (diff) | |
download | mpv-70901aa00603d6e05e9e26369bc6d26e526c5228.tar.bz2 mpv-70901aa00603d6e05e9e26369bc6d26e526c5228.tar.xz |
Add a m_property_flag_ro function for the default behaviour of a
read-only flag.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27679 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_property.h')
-rw-r--r-- | m_property.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/m_property.h b/m_property.h index 7bf43289e9..375aea6cfa 100644 --- a/m_property.h +++ b/m_property.h @@ -169,6 +169,9 @@ int m_property_int_range(const m_option_t* prop,int action, int m_property_choice(const m_option_t* prop,int action, void* arg,int* var); +int m_property_flag_ro(const m_option_t* prop,int action, + void* arg,int var); + /// Switch betwen min and max. int m_property_flag(const m_option_t* prop,int action, void* arg,int* var); |