summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements/CapsInfo.h')
-rw-r--r--Swiften/Elements/CapsInfo.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Swiften/Elements/CapsInfo.h b/Swiften/Elements/CapsInfo.h
index 1968a29..dc3cc2e 100644
--- a/Swiften/Elements/CapsInfo.h
+++ b/Swiften/Elements/CapsInfo.h
@@ -6,13 +6,16 @@
#pragma once
-#include "Swiften/Base/String.h"
+#include <boost/shared_ptr.hpp>
+#include "Swiften/Base/String.h"
#include "Swiften/Elements/Payload.h"
namespace Swift {
class CapsInfo : public Payload {
public:
+ typedef boost::shared_ptr<CapsInfo> ref;
+
CapsInfo(const String& node = "", const String& version = "", const String& hash = "sha-1") : node_(node), version_(version), hash_(hash) {}
bool operator==(const CapsInfo& o) const {