summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-07-13 20:40:40 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-07-13 20:43:34 (GMT)
commit7f9c693b3d90ebd5bbb7a99d99ba0dc6213dcb47 (patch)
tree8c332e98b7fbfeeee6df5c82f3cdd2307db4008f /Swiften/Elements
parent43eadfb5d884407c54ccd41cf46881ae374fdf15 (diff)
downloadswift-7f9c693b3d90ebd5bbb7a99d99ba0dc6213dcb47.zip
swift-7f9c693b3d90ebd5bbb7a99d99ba0dc6213dcb47.tar.bz2
Implement a clean full login procedure.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/VCard.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Swiften/Elements/VCard.h b/Swiften/Elements/VCard.h
index 53be318..f389ba7 100644
--- a/Swiften/Elements/VCard.h
+++ b/Swiften/Elements/VCard.h
@@ -9,6 +9,9 @@ namespace Swift {
public:
VCard() {}
+ void setNickname(const String& nick) { nick_ = nick; }
+ const String& getNickname() const { return nick_; }
+
void setPhoto(const ByteArray& photo) { photo_ = photo; }
const ByteArray& getPhoto() { return photo_; }
@@ -18,5 +21,6 @@ namespace Swift {
private:
ByteArray photo_;
String photoType_;
+ String nick_;
};
}