mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
49 lines
942 B
C++
49 lines
942 B
C++
//
|
|
// MacRomanEncoding.h
|
|
//
|
|
// Library: Encodings
|
|
// Package: Encodings
|
|
// Module: MacRomanEncoding
|
|
//
|
|
// Definition of the Windows1252Encoding class.
|
|
//
|
|
// Copyright (c) 2019, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef Encodings_MacRomanEncoding_INCLUDED
|
|
#define Encodings_MacRomanEncoding_INCLUDED
|
|
|
|
|
|
#include "Poco/DoubleByteEncoding.h"
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
class Encodings_API MacRomanEncoding: public DoubleByteEncoding
|
|
/// MacRoman Encoding.
|
|
///
|
|
/// This text encoding class has been generated from
|
|
/// http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/ROMAN.TXT.
|
|
{
|
|
public:
|
|
MacRomanEncoding();
|
|
~MacRomanEncoding();
|
|
|
|
private:
|
|
static const char* _names[];
|
|
static const CharacterMap _charMap;
|
|
static const Mapping _mappingTable[];
|
|
static const Mapping _reverseMappingTable[];
|
|
};
|
|
|
|
|
|
} // namespace Poco
|
|
|
|
|
|
#endif // Encodings_MacRomanEncoding_INCLUDED
|