#include <stanzaextensionfactory.h>
Public Member Functions | |
| void | registerExtension (StanzaExtension *ext) |
| bool | removeExtension (int ext) |
| StanzaExtensionFactory () | |
| ~StanzaExtensionFactory () | |
| void | addExtensions (Stanza &stanza, Tag *tag) |
To supply a custom StanzaExtension, reimplement StanzaExtension's virtuals and pass an instance to registerExtension().
You should not need to use this class directly. Use ClientBase::registerStanzaExtension() instead. See StanzaExtension for more information about adding protocol implementations to gloox.
Definition at line 39 of file stanzaextensionfactory.h.
|
|
Creates a new StanzaExtensionFactory. Definition at line 25 of file stanzaextensionfactory.cpp. |
|
|
Non-virtual destructor. Definition at line 29 of file stanzaextensionfactory.cpp. |
|
||||||||||||
|
This function creates StanzaExtensions from the given Tag and attaches them to the given Stanza.
Definition at line 68 of file stanzaextensionfactory.cpp. |
|
|
Use this function to inform StanzaExtensionFactory about available StanzaExtensions. By default, StanzaExtensionFactory does not know about any extensions. gloox-built-in extensions will usually be registered by their respective protocol implementations unless otherwise noted in the extension's API docs.
Definition at line 34 of file stanzaextensionfactory.cpp. |
|
|
Removes the given extension type.
Definition at line 53 of file stanzaextensionfactory.cpp. |
1.4.1