| 1 | /***************************************************************************** |
| 2 | ** QNapi |
| 3 | ** Copyright (C) 2008-2017 Piotr KrzemiĆski <[email protected]> |
| 4 | ** |
| 5 | ** This program is free software; you can redistribute it and/or modify |
| 6 | ** it under the terms of the GNU General Public License as published by |
| 7 | ** the Free Software Foundation; either version 2 of the License, or |
| 8 | ** (at your option) any later version. |
| 9 | ** |
| 10 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE |
| 11 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. |
| 12 | ** |
| 13 | *****************************************************************************/ |
| 14 | |
| 15 | #ifndef ENCODINGUTILS_H |
| 16 | #define ENCODINGUTILS_Hcxx . . $ `libqnapi/src/utils/encodingutils.h:16:9`! |
| 17 | |
| 18 | #include <QByteArray> |
| 19 | #include <QString> |
| 20 | #include <QStringList> |
| 21 | |
| 22 | class EncodingUtilscxx . . $ EncodingUtils# { |
| 23 | public: |
| 24 | EncodingUtilscxx . . $ EncodingUtils#EncodingUtils(49f6e7a06ebc5aa8).(); |
| 25 | |
| 26 | QStringcxx . . $ QString# replaceDiacriticsWithASCIIcxx . . $ EncodingUtils#replaceDiacriticsWithASCII(5555d9024dcf93fb).(const QStringcxx . . $ QString#& str) const; |
| 27 | QStringcxx . . $ QString# detectBufferEncodingcxx . . $ EncodingUtils#detectBufferEncoding(5b58488ffc88f4c0).(const QByteArraycxx . . $ QByteArray#& buffer) const; |
| 28 | QStringcxx . . $ QString# detectFileEncodingcxx . . $ EncodingUtils#detectFileEncoding(5555d9024dcf93fb).(const QStringcxx . . $ QString#& filename) const; |
| 29 | |
| 30 | private: |
| 31 | QStringcxx . . $ QString# diacriticscxx . . $ EncodingUtils#diacritics.; |
| 32 | QStringListcxx . . $ QStringList# replacementscxx . . $ EncodingUtils#replacements.; |
| 33 | QStringListcxx . . $ QStringList# codecscxx . . $ EncodingUtils#codecs.; |
| 34 | }; |
| 35 | |
| 36 | #endif // ENCODINGUTILS_H |