diff libpurple/media.h @ 26143:f6a98b2b8d92

Add the accepted signal and make the accept button go away immediately.
author Mike Ruprecht <maiku@soc.pidgin.im>
date Tue, 27 Jan 2009 22:18:01 +0000
parents ac56e5707a72
children 1aed9a92b657
line wrap: on
line diff
--- a/libpurple/media.h	Tue Jan 27 09:40:24 2009 +0000
+++ b/libpurple/media.h	Tue Jan 27 22:18:01 2009 +0000
@@ -600,6 +600,18 @@
 gboolean purple_media_codecs_ready(PurpleMedia *media, const gchar *sess_id);
 
 /**
+ * Gets whether a streams selected have been accepted.
+ *
+ * @param media The media object to find the session in.
+ * @param sess_id The session id of the session to check.
+ * @param participant The participant to check.
+ *
+ * @return @c TRUE The selected streams have been accepted, or @c FALSE otherwise.
+ */
+gboolean purple_media_accepted(PurpleMedia *media, const gchar *sess_id,
+		const gchar *participant);
+
+/**
  * Mutes or unmutes all the audio local audio sources.
  *
  * @param media The media object to mute or unmute