vcardupdate.h

00001 /*
00002   Copyright (c) 2006-2008 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 #ifndef VCARDUPDATE_H__
00015 #define VCARDUPDATE_H__
00016 
00017 #include "stanzaextension.h"
00018 
00019 #include <string>
00020 
00021 namespace gloox
00022 {
00023 
00024   class Tag;
00025 
00034   class GLOOX_API VCardUpdate : public StanzaExtension
00035   {
00036     public:
00040       VCardUpdate();
00041 
00046       VCardUpdate( const std::string& hash );
00047 
00053       VCardUpdate( Tag *tag );
00054 
00058       virtual ~VCardUpdate();
00059 
00064       const std::string& hash() const { return m_hash; }
00065 
00066       // reimplemented from StanzaExtension
00067       Tag* tag() const;
00068 
00069     private:
00070       std::string m_hash;
00071       bool m_notReady;
00072       bool m_noImage;
00073       bool m_valid;
00074 
00075   };
00076 
00077 }
00078 
00079 #endif // VCARDUPDATE_H__

Generated on Fri Oct 10 15:26:12 2008 for gloox by  doxygen 1.5.6