14 #include "jinglepluginfactory.h"
24 PluginFactory::PluginFactory()
38 plugin->setFactory(
this );
39 m_plugins.push_back( plugin );
47 ConstTagList::const_iterator it;
49 PluginList::const_iterator itp = m_plugins.begin();
50 for( ; itp != m_plugins.end(); ++itp )
54 for( ; it != match.end(); ++it )
70 ConstTagList::const_iterator it;
72 PluginList::const_iterator itp = m_plugins.begin();
73 for( ; itp != m_plugins.end(); ++itp )
77 for( ; it != match.end(); ++it )
An abstraction of a Jingle plugin. This is part of Jingle (XEP-0166 et al.)
void clearList(std::list< T * > &L)
void addPlugin(const Plugin *plugin)
void addPlugins(Plugin &plugin, const Tag *tag)
void addPlugin(const Plugin *plugin)
std::list< const Tag * > ConstTagList
virtual Plugin * newInstance(const Tag *tag) const =0
The namespace for the gloox library.
void registerPlugin(Plugin *plugin)
This is an abstraction of Jingle's (XEP-0166) element as a StanzaExtension.
ConstTagList findTagList(const std::string &expression) const
This is an abstraction of an XML element.