gloox  1.0
attention.cpp
1 /*
2  Copyright (c) 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 
15 #include "attention.h"
16 #include "tag.h"
17 
18 namespace gloox
19 {
20 
23  {
24  }
25 
27  {
28  }
29 
30  const std::string& Attention::filterString() const
31  {
32  static const std::string filter = "/message/attention[@xmlns='" + XMLNS_ATTENTION + "']";
33  return filter;
34  }
35 
37  {
38  Tag* t = new Tag( "attention" );
40  return t;
41  }
42 
43 }