vcardupdate.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
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
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__