1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once #include "Swiften/Base/String.h" #include "Swiften/Elements/Payload.h" namespace Swift { class VCardUpdate : public Payload { public: VCardUpdate() {} void setPhotoHash(const String& photoHash) { photoHash_ = photoHash; } const String& getPhotoHash() { return photoHash_; } private: String photoHash_; }; }