diff options
Diffstat (limited to 'Swiften/Parser')
| -rw-r--r-- | Swiften/Parser/GenericPayloadParser.h | 2 | ||||
| -rw-r--r-- | Swiften/Parser/GenericPayloadParserFactory.h | 2 | ||||
| -rw-r--r-- | Swiften/Parser/GenericPayloadParserFactory2.h | 2 | ||||
| -rw-r--r-- | Swiften/Parser/GenericPayloadTreeParser.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/Swiften/Parser/GenericPayloadParser.h b/Swiften/Parser/GenericPayloadParser.h index 7bc990a..b6cd2d7 100644 --- a/Swiften/Parser/GenericPayloadParser.h +++ b/Swiften/Parser/GenericPayloadParser.h | |||
| @@ -23,7 +23,7 @@ namespace Swift { | |||
| 23 | * payload. | 23 | * payload. |
| 24 | */ | 24 | */ |
| 25 | template<typename PAYLOAD_TYPE> | 25 | template<typename PAYLOAD_TYPE> |
| 26 | class SWIFTEN_API GenericPayloadParser : public PayloadParser { | 26 | class GenericPayloadParser : public PayloadParser { |
| 27 | public: | 27 | public: |
| 28 | GenericPayloadParser() : PayloadParser() { | 28 | GenericPayloadParser() : PayloadParser() { |
| 29 | payload_ = boost::make_shared<PAYLOAD_TYPE>(); | 29 | payload_ = boost::make_shared<PAYLOAD_TYPE>(); |
diff --git a/Swiften/Parser/GenericPayloadParserFactory.h b/Swiften/Parser/GenericPayloadParserFactory.h index fd6d403..8e476c0 100644 --- a/Swiften/Parser/GenericPayloadParserFactory.h +++ b/Swiften/Parser/GenericPayloadParserFactory.h | |||
| @@ -16,7 +16,7 @@ namespace Swift { | |||
| 16 | * A generic class for PayloadParserFactories that parse a specific payload (given as the template parameter of the class). | 16 | * A generic class for PayloadParserFactories that parse a specific payload (given as the template parameter of the class). |
| 17 | */ | 17 | */ |
| 18 | template<typename PARSER_TYPE> | 18 | template<typename PARSER_TYPE> |
| 19 | class SWIFTEN_API GenericPayloadParserFactory : public PayloadParserFactory { | 19 | class GenericPayloadParserFactory : public PayloadParserFactory { |
| 20 | public: | 20 | public: |
| 21 | /** | 21 | /** |
| 22 | * Construct a parser factory that can parse the given top-level tag in the given namespace. | 22 | * Construct a parser factory that can parse the given top-level tag in the given namespace. |
diff --git a/Swiften/Parser/GenericPayloadParserFactory2.h b/Swiften/Parser/GenericPayloadParserFactory2.h index 09a2dbf..633050e 100644 --- a/Swiften/Parser/GenericPayloadParserFactory2.h +++ b/Swiften/Parser/GenericPayloadParserFactory2.h | |||
| @@ -17,7 +17,7 @@ namespace Swift { | |||
| 17 | * A generic class for PayloadParserFactories that parse a specific payload (given as the template parameter of the class). | 17 | * A generic class for PayloadParserFactories that parse a specific payload (given as the template parameter of the class). |
| 18 | */ | 18 | */ |
| 19 | template<typename PARSER_TYPE> | 19 | template<typename PARSER_TYPE> |
| 20 | class SWIFTEN_API GenericPayloadParserFactory2 : public PayloadParserFactory { | 20 | class GenericPayloadParserFactory2 : public PayloadParserFactory { |
| 21 | public: | 21 | public: |
| 22 | /** | 22 | /** |
| 23 | * Construct a parser factory that can parse the given top-level tag in the given namespace. | 23 | * Construct a parser factory that can parse the given top-level tag in the given namespace. |
diff --git a/Swiften/Parser/GenericPayloadTreeParser.h b/Swiften/Parser/GenericPayloadTreeParser.h index d90903c..37505ac 100644 --- a/Swiften/Parser/GenericPayloadTreeParser.h +++ b/Swiften/Parser/GenericPayloadTreeParser.h | |||
| @@ -20,7 +20,7 @@ namespace Swift { | |||
| 20 | * Generic parser offering something a bit like a DOM to work with. | 20 | * Generic parser offering something a bit like a DOM to work with. |
| 21 | */ | 21 | */ |
| 22 | template<typename PAYLOAD_TYPE> | 22 | template<typename PAYLOAD_TYPE> |
| 23 | class SWIFTEN_API GenericPayloadTreeParser : public GenericPayloadParser<PAYLOAD_TYPE> { | 23 | class GenericPayloadTreeParser : public GenericPayloadParser<PAYLOAD_TYPE> { |
| 24 | public: | 24 | public: |
| 25 | virtual void handleStartElement(const std::string& element, const std::string& xmlns, const AttributeMap& attributes) { | 25 | virtual void handleStartElement(const std::string& element, const std::string& xmlns, const AttributeMap& attributes) { |
| 26 | if (!root_) { | 26 | if (!root_) { |
Swift