summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2009-11-22 16:46:37 (GMT)
committerRemko Tronçon <git@el-tramo.be>2009-11-22 16:54:51 (GMT)
commit497dd9b099e5810057ebcd8a3f6755819cfecdef (patch)
treea65ecc29c3f86d2ed6b6050d4650708abceafa3d /Swiften/Elements
parentd9ca66fa828e99ec5b4067d954c97d882b9ab8fe (diff)
downloadswift-497dd9b099e5810057ebcd8a3f6755819cfecdef.zip
swift-497dd9b099e5810057ebcd8a3f6755819cfecdef.tar.bz2
Added auth success value support.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/AuthSuccess.h12
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;
};
}