14 #include "jinglesessionmanager.h"
16 #include "clientbase.h"
17 #include "jinglesession.h"
18 #include "jinglesessionhandler.h"
29 : m_parent( parent ), m_handler( sh )
53 StringList::const_iterator it = features.begin();
54 for( ; it != features.end(); ++it )
61 if( !( handler || m_handler ) || !callee )
64 Session* sess =
new Session( m_parent, callee, handler ? handler : m_handler );
65 m_sessions.push_back( sess );
74 m_sessions.remove( session );
86 SessionList::iterator it = m_sessions.begin();
87 for( ; it != m_sessions.end() && (*it)->sid() != j->
sid(); ++it ) ;
88 if( it == m_sessions.end() )
96 (*it)->handleIq( iq );