diff options
Diffstat (limited to 'Swiften/Parser/PayloadParsers/FormParserFactory.h')
-rw-r--r-- | Swiften/Parser/PayloadParsers/FormParserFactory.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/Swiften/Parser/PayloadParsers/FormParserFactory.h b/Swiften/Parser/PayloadParsers/FormParserFactory.h index 74b2d35..851b302 100644 --- a/Swiften/Parser/PayloadParsers/FormParserFactory.h +++ b/Swiften/Parser/PayloadParsers/FormParserFactory.h @@ -11,20 +11,20 @@ #include <Swiften/Parser/PayloadParsers/FormParser.h> namespace Swift { - class PayloadParserFactoryCollection; + class PayloadParserFactoryCollection; - class SWIFTEN_API FormParserFactory : public PayloadParserFactory { - public: - FormParserFactory() { - } + class SWIFTEN_API FormParserFactory : public PayloadParserFactory { + public: + FormParserFactory() { + } - virtual bool canParse(const std::string& /*element*/, const std::string& ns, const AttributeMap&) const { - return ns == "jabber:x:data"; - } + virtual bool canParse(const std::string& /*element*/, const std::string& ns, const AttributeMap&) const { + return ns == "jabber:x:data"; + } - virtual PayloadParser* createPayloadParser() { - return new FormParser(); - } + virtual PayloadParser* createPayloadParser() { + return new FormParser(); + } - }; + }; } |