gloox
1.0.24
src
attention.h
1
/*
2
Copyright (c) 2009-2019 by Jakob Schröter <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
15
#ifndef ATTENTION_H__
16
#define ATTENTION_H__
17
18
19
#include "stanzaextension.h"
20
21
#include <string>
22
23
namespace
gloox
24
{
25
26
class
Tag;
27
34
class
GLOOX_API
Attention
:
public
StanzaExtension
35
{
36
37
public
:
41
Attention
();
42
46
virtual
~
Attention
();
47
48
// reimplemented from StanzaExtension
49
virtual
const
std::string& filterString()
const
;
50
51
// reimplemented from StanzaExtension
52
virtual
StanzaExtension
*
newInstance
(
const
Tag
*
/*tag*/
)
const
53
{
54
return
new
Attention
();
55
}
56
57
// reimplemented from StanzaExtension
58
virtual
Tag
* tag()
const
;
59
60
// reimplemented from StanzaExtension
61
virtual
StanzaExtension
*
clone
()
const
62
{
63
return
new
Attention
();
64
}
65
66
};
67
68
}
69
70
#endif// ATTENTION_H__
gloox::StanzaExtension
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
Definition:
stanzaextension.h:204
gloox::Attention
This is an implementation of XEP-0224 as a StanzaExtension.
Definition:
attention.h:35
gloox
The namespace for the gloox library.
Definition:
adhoc.cpp:28
gloox::Tag
This is an abstraction of an XML element.
Definition:
tag.h:47
gloox::Attention::newInstance
virtual StanzaExtension * newInstance(const Tag *) const
Definition:
attention.h:52
gloox::Attention::clone
virtual StanzaExtension * clone() const
Definition:
attention.h:61
Generated on Mon Aug 17 2020 01:21:43 for gloox by
1.8.18