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 )
void addPlugins(Plugin &plugin, const Tag *tag)
void registerPlugin(Plugin *plugin)
An abstraction of a Jingle plugin. This is part of Jingle (XEP-0166 et al.)
virtual Plugin * newInstance(const Tag *tag) const =0
void addPlugin(const Plugin *plugin)
This is an abstraction of Jingle's (XEP-0166) <jingle> element as a StanzaExtension.
void addPlugin(const Plugin *plugin)
This is an abstraction of an XML element.
ConstTagList findTagList(const std::string &expression) const
void clearList(std::list< T * > &L)
The namespace for the gloox library.
std::list< const Tag * > ConstTagList