14 #include "jinglecontent.h"
15 #include "jinglepluginfactory.h"
24 static const char* creatorValues [] = {
34 static const char* sendersValues [] = {
47 Senders senders,
const std::string& disposition )
48 : m_creator( creator ), m_disposition( disposition ),
49 m_name( name ), m_senders( senders )
56 if( !factory || !tag || tag->
name() !=
"content" )
73 static const std::string filter =
"jingle/content";
82 Tag* t =
new Tag(
"content" );
83 t->
addAttribute(
"creator", util::lookup( m_creator, creatorValues ) );
86 t->
addAttribute(
"senders", util::lookup( m_senders, sendersValues ) );
88 PluginList::const_iterator it = m_plugins.begin();
89 for( ; it != m_plugins.end(); ++it )