summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/Elements')
-rw-r--r--Swiften/Elements/SecurityLabel.h1
-rw-r--r--Swiften/Elements/SecurityLabelsCatalog.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/Swiften/Elements/SecurityLabel.h b/Swiften/Elements/SecurityLabel.h
index 0487977..a1714c8 100644
--- a/Swiften/Elements/SecurityLabel.h
+++ b/Swiften/Elements/SecurityLabel.h
@@ -8,18 +8,19 @@
#include <vector>
#include <string>
#include <Swiften/Elements/Payload.h>
namespace Swift {
class SecurityLabel : public Payload {
public:
+ typedef boost::shared_ptr<SecurityLabel> ref;
SecurityLabel() {}
const std::string& getDisplayMarking() const { return displayMarking_; }
void setDisplayMarking(const std::string& displayMarking) {
displayMarking_ = displayMarking;
}
const std::string& getForegroundColor() const {
diff --git a/Swiften/Elements/SecurityLabelsCatalog.h b/Swiften/Elements/SecurityLabelsCatalog.h
index 0f40c13..b9419a9 100644
--- a/Swiften/Elements/SecurityLabelsCatalog.h
+++ b/Swiften/Elements/SecurityLabelsCatalog.h
@@ -11,18 +11,19 @@
#include <boost/shared_ptr.hpp>
#include <Swiften/JID/JID.h>
#include <Swiften/Elements/Payload.h>
#include <Swiften/Elements/SecurityLabel.h>
namespace Swift {
class SecurityLabelsCatalog : public Payload {
public:
+ typedef boost::shared_ptr<SecurityLabelsCatalog> ref;
class Item {
public:
Item() : default_(false) {}
const boost::shared_ptr<SecurityLabel> getLabel() const {
return label_;
}
void setLabel(boost::shared_ptr<SecurityLabel> label) {
label_ = label;