diff options
author | zugz (tox) <mbays+tox@sdf.org> | 2019-02-10 00:00:00 +0000 |
---|---|---|
committer | zugz (tox) <mbays+tox@sdf.org> | 2019-02-10 00:00:00 +0000 |
commit | 959f468eac8b1c2a0d10a5cc1d4f95ec4ad8b144 (patch) | |
tree | 2fc7b39fadd929bd12ea2f1c7400e75a6c1d04f6 /toxav/toxav.h | |
parent | 49e2406ffabe2bbf04dc9416f6240ea63df4590d (diff) |
add API function to test whether av is enabled
Diffstat (limited to 'toxav/toxav.h')
-rw-r--r-- | toxav/toxav.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/toxav/toxav.h b/toxav/toxav.h index 6c1ea093..5d4f3bd3 100644 --- a/toxav/toxav.h +++ b/toxav/toxav.h | |||
@@ -803,6 +803,10 @@ int toxav_groupchat_enable_av(Tox *tox, uint32_t groupnumber, | |||
803 | */ | 803 | */ |
804 | int toxav_groupchat_disable_av(Tox *tox, uint32_t groupnumber); | 804 | int toxav_groupchat_disable_av(Tox *tox, uint32_t groupnumber); |
805 | 805 | ||
806 | /* Return whether A/V is enabled in the groupchat. | ||
807 | */ | ||
808 | bool toxav_groupchat_av_enabled(Tox *tox, uint32_t groupnumber); | ||
809 | |||
806 | #ifdef __cplusplus | 810 | #ifdef __cplusplus |
807 | } | 811 | } |
808 | #endif | 812 | #endif |