14 #ifndef JINGLESESSION_H__
15 #define JINGLESESSION_H__
17 #include "stanzaextension.h"
19 #include "iqhandler.h"
20 #include "jingleplugin.h"
163 const std::string&
sid()
const {
return m_sid; }
170 const std::string&
text()
const {
return m_text; }
173 virtual const std::string& filterString()
const;
176 virtual Tag* tag()
const;
182 virtual Plugin* clone()
const;
219 const std::string&
sid()
const {
return m_sid; }
249 void addPlugin(
const Plugin* plugin ) {
if( plugin ) m_plugins.push_back( plugin ); }
264 virtual const std::string& filterString()
const;
273 virtual Tag* tag()
const;
292 const PluginList& plugins,
const std::string& sid );
303 const Plugin* plugin,
const std::string& sid );
330 bool contentAccept(
const Content* content );
337 bool contentAdd(
const Content* content );
344 bool contentAdd(
const PluginList& contents );
351 bool contentModify(
const Content* content );
358 bool contentReject(
const Content* content );
365 bool contentRemove(
const Content* content );
372 bool descriptionInfo(
const Plugin* info );
379 bool securityInfo(
const Plugin* info );
387 bool sessionAccept(
const Content* content );
394 bool sessionInfo(
const Plugin* info );
401 bool sessionInitiate(
const Content* content );
410 bool sessionInitiate(
const PluginList& plugins );
425 bool transportAccept(
const Content* content );
432 bool transportInfo(
const Plugin* info );
439 bool transportReject(
const Content* content );
446 bool transportReplace(
const Content* content );
458 void setSID(
const std::string& sid ) { m_sid = sid; }
464 const std::string&
sid()
const {
return m_sid; }
467 virtual bool handleIq(
const IQ& iq );
470 virtual void handleIqID(
const IQ& iq,
int context );
512 #endif // JINGLESESSION_H__