diff options
Diffstat (limited to 'Swiften/Parser/BOSHBodyExtractor.h')
-rw-r--r-- | Swiften/Parser/BOSHBodyExtractor.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/Swiften/Parser/BOSHBodyExtractor.h b/Swiften/Parser/BOSHBodyExtractor.h index 7510761..ba56b41 100644 --- a/Swiften/Parser/BOSHBodyExtractor.h +++ b/Swiften/Parser/BOSHBodyExtractor.h @@ -1,7 +1,7 @@ /* - * Copyright (c) 2011 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. + * Copyright (c) 2011 Isode Limited. + * All rights reserved. + * See the COPYING file for more information. */ #pragma once @@ -13,23 +13,23 @@ #include <Swiften/Parser/XMLParserClient.h> namespace Swift { - class XMLParserFactory; - - class SWIFTEN_API BOSHBodyExtractor { - friend class BOSHBodyParserClient; - public: - struct BOSHBody { - AttributeMap attributes; - std::string content; - }; - - BOSHBodyExtractor(XMLParserFactory* parserFactory, const ByteArray& data); - - const boost::optional<BOSHBody>& getBody() const { - return body; - } - - private: - boost::optional<BOSHBody> body; - }; + class XMLParserFactory; + + class SWIFTEN_API BOSHBodyExtractor { + friend class BOSHBodyParserClient; + public: + struct BOSHBody { + AttributeMap attributes; + std::string content; + }; + + BOSHBodyExtractor(XMLParserFactory* parserFactory, const ByteArray& data); + + const boost::optional<BOSHBody>& getBody() const { + return body; + } + + private: + boost::optional<BOSHBody> body; + }; } |