diff options
Diffstat (limited to 'Swiften/Parser/BOSHBodyExtractor.h')
-rw-r--r-- | Swiften/Parser/BOSHBodyExtractor.h | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/Swiften/Parser/BOSHBodyExtractor.h b/Swiften/Parser/BOSHBodyExtractor.h index 2112ff7..ba56b41 100644 --- a/Swiften/Parser/BOSHBodyExtractor.h +++ b/Swiften/Parser/BOSHBodyExtractor.h @@ -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; + }; } |