diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-11-22 16:46:37 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-11-22 16:54:51 (GMT) |
commit | 497dd9b099e5810057ebcd8a3f6755819cfecdef (patch) | |
tree | a65ecc29c3f86d2ed6b6050d4650708abceafa3d /Swiften/Elements | |
parent | d9ca66fa828e99ec5b4067d954c97d882b9ab8fe (diff) | |
download | swift-contrib-497dd9b099e5810057ebcd8a3f6755819cfecdef.zip swift-contrib-497dd9b099e5810057ebcd8a3f6755819cfecdef.tar.bz2 |
Added auth success value support.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/AuthSuccess.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Swiften/Elements/AuthSuccess.h b/Swiften/Elements/AuthSuccess.h index da4d798..1db1729 100644 --- a/Swiften/Elements/AuthSuccess.h +++ b/Swiften/Elements/AuthSuccess.h @@ -1,10 +1,22 @@ #pragma once #include "Swiften/Elements/Element.h" +#include "Swiften/Base/ByteArray.h" namespace Swift { class AuthSuccess : public Element { public: AuthSuccess() {} + + const ByteArray& getValue() const { + return value; + } + + void setValue(const ByteArray& value) { + this->value = value; + } + + private: + ByteArray value; }; } |