diff options
author | Remko Tronçon <git@el-tramo.be> | 2009-09-14 18:57:59 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2009-09-14 19:15:45 (GMT) |
commit | b8201141afdbd4cab6fcda37cf8daad492b1f996 (patch) | |
tree | ab4908b05a7bb0b1fe97bc4609b68dd9c0b538a9 /Swiften/Elements | |
parent | 5e3ef73cc312d0d79504faa3e0adf4de9bf836c2 (diff) | |
download | swift-b8201141afdbd4cab6fcda37cf8daad492b1f996.zip swift-b8201141afdbd4cab6fcda37cf8daad492b1f996.tar.bz2 |
Added private storage element, parser, and serializer.
Diffstat (limited to 'Swiften/Elements')
-rw-r--r-- | Swiften/Elements/PrivateStorage.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Swiften/Elements/PrivateStorage.h b/Swiften/Elements/PrivateStorage.h new file mode 100644 index 0000000..66259a3 --- /dev/null +++ b/Swiften/Elements/PrivateStorage.h @@ -0,0 +1,24 @@ +#pragma once + +#include <boost/shared_ptr.hpp> + +#include "Swiften/Elements/Payload.h" + +namespace Swift { + class PrivateStorage : public Payload { + public: + PrivateStorage() { + } + + boost::shared_ptr<Payload> getPayload() const { + return payload; + } + + void setPayload(boost::shared_ptr<Payload> p) { + payload = p; + } + + private: + boost::shared_ptr<Payload> payload; + }; +} |