blob: 93f1cfe7368af7a318bc636e731ab94105258537 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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> payload = boost::shared_ptr<Payload>()) : payload(payload) {
}
boost::shared_ptr<Payload> getPayload() const {
return payload;
}
void setPayload(boost::shared_ptr<Payload> p) {
payload = p;
}
private:
boost::shared_ptr<Payload> payload;
};
}
|