X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fstringcodec%2Fcodec.h;h=5acbe7b0d1dc34b1d7285c6b96a63665b1ffde2f;hb=93bb92bad766d269a6bac87e00020a6158531739;hp=eec1e4bddb092a80a03574aa6207c30df53150ea;hpb=02794ef3620d0d9cc3b8f1c0d8f2995c825fdf4f;p=libs%2Fcore.git diff --git a/source/stringcodec/codec.h b/source/stringcodec/codec.h index eec1e4b..5acbe7b 100644 --- a/source/stringcodec/codec.h +++ b/source/stringcodec/codec.h @@ -3,14 +3,11 @@ #include #include +#include "ustring.h" namespace Msp { namespace StringCodec { -typedef int unichar; - -typedef std::basic_string ustring; - enum ErrorMode { THROW_ON_ERROR, @@ -121,7 +118,7 @@ public: THROW_ON_ERROR: throws CodecError(msg) IGNORE_ERRORS: returns -1 - TRANSLITERATE: return 0xFFFE */ + TRANSLITERATE: return 0xFFFD */ unichar error(const std::string &msg); };