gloox
1.0.28
|
#include <adhocplugin.h>
Public Member Functions | |
AdhocPlugin (int type) | |
virtual | ~AdhocPlugin () |
virtual | operator bool () const =0 |
Public Member Functions inherited from StanzaExtension | |
StanzaExtension (int type) | |
virtual | ~StanzaExtension () |
virtual Stanza * | embeddedStanza () const |
virtual Tag * | embeddedTag () const |
virtual const std::string & | filterString () const =0 |
virtual StanzaExtension * | newInstance (const Tag *tag) const =0 |
virtual Tag * | tag () const =0 |
virtual StanzaExtension * | clone () const =0 |
int | extensionType () const |
A base class for Adhoc Command plugins (DataForm, IO Data, ...).
This is just a common base class for abstractions of protocols that can be embedded into Adhoc Commands. You should not need to use this class directly unless you're extending Adhoc Commands further.
This class exists purely as an additional abstraction layer, to limit the type of objects that can be added to an Adhoc Command.
Definition at line 38 of file adhocplugin.h.
|
inline |
Creazes a new Adhoc Plugin of the given type.
type | This should be a StanzaExtension type, i.e. the type of StanzaExtension the plugin will hold. |
Definition at line 47 of file adhocplugin.h.
|
inlinevirtual |
Virtual destructor.
Definition at line 52 of file adhocplugin.h.
|
pure virtual |