00001
00002
00003
00004
00005
00006
00007 #pragma once
00008
00009 #include <vector>
00010 #include <boost/optional.hpp>
00011
00012 #include <Swiften/Elements/Element.h>
00013
00014 namespace Swift {
00015 class AuthSuccess : public Element {
00016 public:
00017 AuthSuccess() {}
00018
00019 const boost::optional<std::vector<unsigned char> >& getValue() const {
00020 return value;
00021 }
00022
00023 void setValue(const std::vector<unsigned char>& value) {
00024 this->value = boost::optional<std::vector<unsigned char> >(value);
00025 }
00026
00027 private:
00028 boost::optional<std::vector<unsigned char> > value;
00029 };
00030 }