00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <string>
00010 #include <Swiften/Elements/Payload.h>
00011
00012 namespace Swift {
00013 class VCardUpdate : public Payload {
00014 public:
00015 VCardUpdate(const std::string& photoHash = "") : photoHash_(photoHash) {}
00016
00017 void setPhotoHash(const std::string& photoHash) { photoHash_ = photoHash; }
00018 const std::string& getPhotoHash() const { return photoHash_; }
00019
00020 private:
00021 std::string photoHash_;
00022 };
00023 }