diff options
Diffstat (limited to 'Swiften/Serializer/XML/XMLRawTextNode.h')
-rw-r--r-- | Swiften/Serializer/XML/XMLRawTextNode.h | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/Swiften/Serializer/XML/XMLRawTextNode.h b/Swiften/Serializer/XML/XMLRawTextNode.h index 9e222d5..fbd7754 100644 --- a/Swiften/Serializer/XML/XMLRawTextNode.h +++ b/Swiften/Serializer/XML/XMLRawTextNode.h @@ -1,24 +1,25 @@ /* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2010-2015 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #pragma once +#include <Swiften/Base/API.h> #include <Swiften/Serializer/XML/XMLNode.h> namespace Swift { - class XMLRawTextNode : public XMLNode { - public: - XMLRawTextNode(const std::string& text) : text_(text) { - } + class SWIFTEN_API XMLRawTextNode : public XMLNode { + public: + XMLRawTextNode(const std::string& text) : text_(text) { + } - std::string serialize() { - return text_; - } + std::string serialize() { + return text_; + } - private: - std::string text_; - }; + private: + std::string text_; + }; } |