blob: d9e18ab503bf339a0d5315140642de0ccc3a4eac (
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
77
|
/*
* Copyright (c) 2010-2014 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#pragma once
#include <Swiften/Base/Override.h>
#include <Swiften/Base/API.h>
#include <Swiften/Elements/Payload.h>
#include <vector>
#include <string>
namespace Swift {
class SWIFTEN_API SecurityLabel : public Payload {
public:
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;
};
}
|