summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-06-20 08:17:59 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-06-20 14:37:51 (GMT)
commit6310bc00ceeb65f0cf6fc0ada9d1b188517d8a76 (patch)
tree42f98c3d4a6d6e01043377bbb07125264527bd0f /Swiften/Elements/VCardUpdate.h
parent9a457c621bd75a9929cc0616b7659dba2945fdac (diff)
downloadswift-6310bc00ceeb65f0cf6fc0ada9d1b188517d8a76.zip
swift-6310bc00ceeb65f0cf6fc0ada9d1b188517d8a76.tar.bz2
Added vcard-temp update parser.
Diffstat (limited to 'Swiften/Elements/VCardUpdate.h')
-rw-r--r--Swiften/Elements/VCardUpdate.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/Swiften/Elements/VCardUpdate.h b/Swiften/Elements/VCardUpdate.h
new file mode 100644
index 0000000..b6c8ebd
--- /dev/null
+++ b/Swiften/Elements/VCardUpdate.h
@@ -0,0 +1,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_;
+ };
+}