00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #include "attention.h"
00016 #include "tag.h"
00017
00018 namespace gloox
00019 {
00020
00021 Attention::Attention()
00022 : StanzaExtension( ExtAttention )
00023 {
00024 }
00025
00026 Attention::~Attention()
00027 {
00028 }
00029
00030 const std::string& Attention::filterString() const
00031 {
00032 static const std::string filter = "/message/attention[@xmlns='" + XMLNS_ATTENTION + "']";
00033 return filter;
00034 }
00035
00036 Tag* Attention::tag() const
00037 {
00038 Tag* t = new Tag( "attention" );
00039 t->setXmlns( XMLNS_ATTENTION );
00040 return t;
00041 }
00042
00043 }