diff options
Diffstat (limited to 'Swiften/Parser/ElementParser.h')
-rw-r--r-- | Swiften/Parser/ElementParser.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Swiften/Parser/ElementParser.h b/Swiften/Parser/ElementParser.h index 7653276..12c6c38 100644 --- a/Swiften/Parser/ElementParser.h +++ b/Swiften/Parser/ElementParser.h @@ -15,14 +15,14 @@ #include <Swiften/Parser/AttributeMap.h> namespace Swift { - class SWIFTEN_API ElementParser { - public: - virtual ~ElementParser(); + class SWIFTEN_API ElementParser { + public: + virtual ~ElementParser(); - virtual void handleStartElement(const std::string& element, const std::string& ns, const AttributeMap& attributes) = 0; - virtual void handleEndElement(const std::string& element, const std::string& ns) = 0; - virtual void handleCharacterData(const std::string& data) = 0; + virtual void handleStartElement(const std::string& element, const std::string& ns, const AttributeMap& attributes) = 0; + virtual void handleEndElement(const std::string& element, const std::string& ns) = 0; + virtual void handleCharacterData(const std::string& data) = 0; - virtual boost::shared_ptr<ToplevelElement> getElement() const = 0; - }; + virtual boost::shared_ptr<ToplevelElement> getElement() const = 0; + }; } |