mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-04-21 12:49:10 +02:00
Discard the "broken name cache" workaround and use QTextCodec search based on MIB numbers.
22 lines
281 B
C++
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
|