1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-04-21 12:49:10 +02:00
GPXSee/src/common/textcodec.h
Martin Tůma d4b731aeaf Use MIB numbers for QTextCodec fetching
Discard the "broken name cache" workaround and use QTextCodec search based
on MIB numbers.
2023-12-22 09:32:47 +01:00

22 lines
281 B
C++

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