1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-25 20:25:54 +01:00
GPXSee/src/common/textcodec.h

21 lines
284 B
C
Raw Normal View History

#ifndef TEXTCODEC_H
#define TEXTCODEC_H
#include <QString>
class TextCodec
{
public:
TextCodec();
TextCodec(int codepage);
QString toString(const QByteArray &ba) const;
private:
QString from8bCp(const QByteArray &ba) const;
const char32_t *_table;
};
#endif // TEXTCODEC_H