attention.h

00001 /*
00002   Copyright (c) 2009 by Jakob Schroeter <js@camaya.net>
00003   This file is part of the gloox library. http://camaya.net/gloox
00004 
00005   This software is distributed under a license. The full license
00006   agreement can be found in the file LICENSE in this distribution.
00007   This software may not be copied, modified, sold or distributed
00008   other than expressed in the named license agreement.
00009 
00010   This software is distributed without any warranty.
00011 */
00012 
00013 
00014 
00015 #ifndef ATTENTION_H__
00016 #define ATTENTION_H__
00017 
00018 
00019 #include "stanzaextension.h"
00020 
00021 #include <string>
00022 
00023 namespace gloox
00024 {
00025 
00026   class Tag;
00027 
00034   class GLOOX_API Attention : public StanzaExtension
00035   {
00036 
00037     public:
00041       Attention();
00042 
00046       virtual ~Attention();
00047 
00048       // reimplemented from StanzaExtension
00049       virtual const std::string& filterString() const;
00050 
00051       // reimplemented from StanzaExtension
00052       virtual StanzaExtension* newInstance( const Tag* /*tag*/ ) const
00053       {
00054         return new Attention();
00055       }
00056 
00057       // reimplemented from StanzaExtension
00058       virtual Tag* tag() const;
00059 
00060       // reimplemented from StanzaExtension
00061       virtual StanzaExtension* clone() const
00062       {
00063         return new Attention();
00064       }
00065 
00066   };
00067 
00068 }
00069 
00070 #endif// ATTENTION_H__
Generated on Tue Jun 8 23:37:53 2010 for gloox by  doxygen 1.6.3