1 // 2 // MacCyrillicEncoding.h 3 // 4 // Library: Encodings 5 // Package: Encodings 6 // Module: MacCyrillicEncoding 7 // 8 // Definition of the Windows1252Encoding class. 9 // 10 // Copyright (c) 2019, Applied Informatics Software Engineering GmbH. 11 // and Contributors. 12 // 13 // SPDX-License-Identifier: BSL-1.0 14 // 15 16 17 #ifndef Encodings_MacCyrillicEncoding_INCLUDED 18 #define Encodings_MacCyrillicEncoding_INCLUDED 19 20 21 #include "Poco/DoubleByteEncoding.h" 22 23 24 namespace Poco { 25 26 27 class Encodings_API MacCyrillicEncoding: public DoubleByteEncoding 28 /// MacCyrillic Encoding. 29 /// 30 /// This text encoding class has been generated from 31 /// http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/CYRILLIC.TXT. 32 { 33 public: 34 MacCyrillicEncoding(); 35 ~MacCyrillicEncoding(); 36 37 private: 38 static const char* _names[]; 39 static const CharacterMap _charMap; 40 static const Mapping _mappingTable[]; 41 static const Mapping _reverseMappingTable[]; 42 }; 43 44 45 } // namespace Poco 46 47 48 #endif // Encodings_MacCyrillicEncoding_INCLUDED 49