gloox
1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
src
stanzaextensionfactory.h
1
/*
2
Copyright (c) 2006-2009 by Jakob Schroeter <js@camaya.net>
3
This file is part of the gloox library. http://camaya.net/gloox
4
5
This software is distributed under a license. The full license
6
agreement can be found in the file LICENSE in this distribution.
7
This software may not be copied, modified, sold or distributed
8
other than expressed in the named license agreement.
9
10
This software is distributed without any warranty.
11
*/
12
13
14
#ifndef STANZAEXTENSIONFACTORY_H__
15
#define STANZAEXTENSIONFACTORY_H__
16
17
#include <list>
18
19
namespace
gloox
20
{
21
22
class
Tag;
23
class
Stanza;
24
class
StanzaExtension;
25
39
class
StanzaExtensionFactory
40
{
41
42
friend
class
ClientBase
;
43
44
public
:
56
void
registerExtension
(
StanzaExtension
* ext );
57
63
bool
removeExtension
(
int
ext );
64
68
StanzaExtensionFactory
();
69
73
~StanzaExtensionFactory
();
74
80
void
addExtensions
(
Stanza
& stanza,
Tag
* tag );
81
82
private
:
83
typedef
std::list<StanzaExtension*> SEList;
84
SEList m_extensions;
85
86
};
87
88
}
89
90
#endif // STANZAEXTENSIONFACTORY_H__
Generated on Thu Jun 27 2013 13:02:36 for gloox by
1.8.1.2