diff options
Diffstat (limited to 'Swiften/Elements/SecurityLabel.h')
-rw-r--r-- | Swiften/Elements/SecurityLabel.h | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/Swiften/Elements/SecurityLabel.h b/Swiften/Elements/SecurityLabel.h index b018620..748c65e 100644 --- a/Swiften/Elements/SecurityLabel.h +++ b/Swiften/Elements/SecurityLabel.h @@ -14,63 +14,63 @@ #include <Swiften/Elements/Payload.h> 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; - }; + 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; + }; } |