blob: fcaa610ea7947eb1d7c0f9e644aaa869fd701c9b (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
/*
* Copyright (c) 2010-2017 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
#include <string>
#include <vector>
#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
namespace Swift {
class SWIFTEN_API SecurityLabel : public Payload {
public:
using ref = std::shared_ptr<SecurityLabel>;
SecurityLabel();
virtual ~SecurityLabel();
const std::vector< std::string >& getEquivalentLabels() const {
return equivalentLabels;
}
void setEquivalentLabels(const std::vector< std::string >& value) {
this->equivalentLabels = value ;
}
void addEquivalentLabel(const std::string& value) {
this->equivalentLabels.push_back(value);
}
const std::string& getForegroundColor() const {
return foregroundColor;
}
void setForegroundColor(const std::string& value) {
this->foregroundColor = value ;
}
const std::string& getDisplayMarking() const {
return displayMarking;
}
void setDisplayMarking(const std::string& value) {
this->displayMarking = value ;
}
const std::string& getBackgroundColor() const {
return backgroundColor;
}
void setBackgroundColor(const std::string& value) {
this->backgroundColor = value ;
}
const std::string& getLabel() const {
return label;
}
void setLabel(const std::string& value) {
this->label = value ;
}
private:
std::vector< std::string > equivalentLabels;
std::string foregroundColor;
std::string displayMarking;
std::string backgroundColor;
std::string label;
};
}
|