]> git.tdb.fi Git - libs/core.git/blobdiff - source/stringcodec/utf8.h
Add decorations for things which are considered part of the API
[libs/core.git] / source / stringcodec / utf8.h
index f170916f1d6c6d39ee1c1eb3d46f77df7068951e..c3f4a5930014f46c5d3a46318d2cf5c4f17ef4c6 100644 (file)
@@ -1,15 +1,16 @@
 #ifndef MSP_STRINGCODEC_UTF8_H_
 #define MSP_STRINGCODEC_UTF8_H_
 
+#include <msp/core/mspcore_api.h>
 #include "codec.h"
 
 namespace Msp {
 namespace StringCodec {
 
-class Utf8: public StandardCodec<Utf8>
+class MSPCORE_API Utf8: public StandardCodec<Utf8>
 {
 public:
-       class Encoder: public Codec::Encoder
+       class MSPCORE_API Encoder: public Codec::Encoder
        {
        public:
                Encoder(ErrorMode em = DEFAULT): Codec::Encoder(em) { }
@@ -19,7 +20,7 @@ public:
                void transliterate(unichar, std::string &) override;
        };
 
-       class Decoder: public Codec::Decoder
+       class MSPCORE_API Decoder: public Codec::Decoder
        {
        public:
                Decoder(ErrorMode em = DEFAULT): Codec::Decoder(em) { }