]> git.tdb.fi Git - libs/core.git/blobdiff - source/stringcodec/utf16.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / stringcodec / utf16.h
index 73d81cb9c26a15ec4ad9c318e4525f5a5a4a3705..a588b124dddb27461f05c4a41b31aee8a1cd783f 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef MSP_STRINGCODEC_UTF16_H_
 #define MSP_STRINGCODEC_UTF16_H_
 
+#include <msp/core/mspcore_api.h>
 #include "codec.h"
 
 namespace Msp {
@@ -11,7 +12,7 @@ The UTF-16 codec, as specified in the Unicode standard.  Both little and big
 endian are supported, as well as autodetection with the BOM.  In the absence
 of a BOM, big endian is assumed.
 */
-class Utf16: public StandardCodec<Utf16>
+class MSPCORE_API Utf16: public StandardCodec<Utf16>
 {
 public:
        enum Endian
@@ -21,7 +22,7 @@ public:
                LITTLE
        };
 
-       class Encoder: public Codec::Encoder
+       class MSPCORE_API Encoder: public Codec::Encoder
        {
        private:
                Endian endian = BIG;
@@ -35,7 +36,7 @@ public:
                void transliterate(unichar, std::string &) override;
        };
 
-       class Decoder: public Codec::Decoder
+       class MSPCORE_API Decoder: public Codec::Decoder
        {
        private:
                Endian endian = AUTO;