diff options
Diffstat (limited to 'Swiften/Elements/ComponentHandshake.h')
-rw-r--r-- | Swiften/Elements/ComponentHandshake.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Swiften/Elements/ComponentHandshake.h b/Swiften/Elements/ComponentHandshake.h index d9088e0..ca18e73 100644 --- a/Swiften/Elements/ComponentHandshake.h +++ b/Swiften/Elements/ComponentHandshake.h @@ -6,13 +6,16 @@ #pragma once +#include <boost/shared_ptr.hpp> + #include "Swiften/Elements/Element.h" #include "Swiften/Base/String.h" -#include "Swiften/Base/Shared.h" namespace Swift { - class ComponentHandshake : public Element, public Shared<ComponentHandshake> { + class ComponentHandshake : public Element { public: + typedef boost::shared_ptr<ComponentHandshake> ref; + ComponentHandshake(const String& data = "") : data(data) { } |