diff options
Diffstat (limited to 'Swiften/Serializer/PayloadSerializers/BlockSerializer.h')
| -rw-r--r-- | Swiften/Serializer/PayloadSerializers/BlockSerializer.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Swiften/Serializer/PayloadSerializers/BlockSerializer.h b/Swiften/Serializer/PayloadSerializers/BlockSerializer.h index dfc5f3e..48c8004 100644 --- a/Swiften/Serializer/PayloadSerializers/BlockSerializer.h +++ b/Swiften/Serializer/PayloadSerializers/BlockSerializer.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * Copyright (c) 2010-2013 Isode Limited. | 2 | * Copyright (c) 2010-2015 Isode Limited. |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * See the COPYING file for more information. | 4 | * See the COPYING file for more information. |
| 5 | */ | 5 | */ |
| @@ -8,13 +8,14 @@ | |||
| 8 | 8 | ||
| 9 | #include <boost/smart_ptr/make_shared.hpp> | 9 | #include <boost/smart_ptr/make_shared.hpp> |
| 10 | 10 | ||
| 11 | #include <Swiften/Base/API.h> | ||
| 11 | #include <Swiften/JID/JID.h> | 12 | #include <Swiften/JID/JID.h> |
| 12 | #include <Swiften/Serializer/GenericPayloadSerializer.h> | 13 | #include <Swiften/Serializer/GenericPayloadSerializer.h> |
| 13 | #include <Swiften/Serializer/XML/XMLElement.h> | 14 | #include <Swiften/Serializer/XML/XMLElement.h> |
| 14 | 15 | ||
| 15 | namespace Swift { | 16 | namespace Swift { |
| 16 | template<typename BLOCK_ELEMENT> | 17 | template<typename BLOCK_ELEMENT> |
| 17 | class BlockSerializer : public GenericPayloadSerializer<BLOCK_ELEMENT> { | 18 | class SWIFTEN_API BlockSerializer : public GenericPayloadSerializer<BLOCK_ELEMENT> { |
| 18 | public: | 19 | public: |
| 19 | BlockSerializer(std::string tag) : GenericPayloadSerializer<BLOCK_ELEMENT>(), tag(tag) { | 20 | BlockSerializer(std::string tag) : GenericPayloadSerializer<BLOCK_ELEMENT>(), tag(tag) { |
| 20 | } | 21 | } |
Swift