Mercurial > pidgin
comparison libpurple/protocols/jabber/jingle/content.h @ 24949:1a2d446cb8a0
Fix support for audio and video (at the same time) sessions.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Mon, 03 Nov 2008 03:07:07 +0000 |
parents | bd598b606ca4 |
children | 0c8d41f5caa0 |
comparison
equal
deleted
inserted
replaced
24948:78c3e991782a | 24949:1a2d446cb8a0 |
---|---|
51 { | 51 { |
52 GObjectClass parent_class; /**< The parent class. */ | 52 GObjectClass parent_class; /**< The parent class. */ |
53 | 53 |
54 xmlnode *(*to_xml) (JingleContent *content, xmlnode *jingle, JingleActionType action); | 54 xmlnode *(*to_xml) (JingleContent *content, xmlnode *jingle, JingleActionType action); |
55 JingleContent *(*parse) (xmlnode *content); | 55 JingleContent *(*parse) (xmlnode *content); |
56 void (*handle_action) (JingleContent *content, xmlnode *jingle, JingleActionType action); | 56 void (*handle_action) (JingleContent *content, xmlnode *xmlcontent, JingleActionType action); |
57 const gchar *description_type; | 57 const gchar *description_type; |
58 }; | 58 }; |
59 | 59 |
60 /** The content class's private data */ | 60 /** The content class's private data */ |
61 struct _JingleContent | 61 struct _JingleContent |
103 #define jingle_content_create_content_remove(session) \ | 103 #define jingle_content_create_content_remove(session) \ |
104 jingle_session_to_packet(session, JINGLE_CONTENT_REMOVE) | 104 jingle_session_to_packet(session, JINGLE_CONTENT_REMOVE) |
105 | 105 |
106 JingleContent *jingle_content_parse(xmlnode *content); | 106 JingleContent *jingle_content_parse(xmlnode *content); |
107 xmlnode *jingle_content_to_xml(JingleContent *content, xmlnode *jingle, JingleActionType action); | 107 xmlnode *jingle_content_to_xml(JingleContent *content, xmlnode *jingle, JingleActionType action); |
108 void jingle_content_handle_action(JingleContent *content, xmlnode *jingle, JingleActionType action); | 108 void jingle_content_handle_action(JingleContent *content, xmlnode *xmlcontent, JingleActionType action); |
109 | 109 |
110 #ifdef __cplusplus | 110 #ifdef __cplusplus |
111 } | 111 } |
112 #endif | 112 #endif |
113 | 113 |