mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2024-11-08 16:57:16 +01:00
4a6bfc086c
Switched to POCO library for unified platform/library interface. Deprecated the external module API. It was creating more problems than solving. Removed most built-in libraries in favor of system libraries for easier maintenance. Cleaned and secured code with help from static analyzers.
49 lines
973 B
C++
49 lines
973 B
C++
//
|
|
// MacJapaneseEncoding.h
|
|
//
|
|
// Library: Encodings
|
|
// Package: Encodings
|
|
// Module: MacJapaneseEncoding
|
|
//
|
|
// Definition of the Windows1252Encoding class.
|
|
//
|
|
// Copyright (c) 2019, Applied Informatics Software Engineering GmbH.
|
|
// and Contributors.
|
|
//
|
|
// SPDX-License-Identifier: BSL-1.0
|
|
//
|
|
|
|
|
|
#ifndef Encodings_MacJapaneseEncoding_INCLUDED
|
|
#define Encodings_MacJapaneseEncoding_INCLUDED
|
|
|
|
|
|
#include "Poco/DoubleByteEncoding.h"
|
|
|
|
|
|
namespace Poco {
|
|
|
|
|
|
class Encodings_API MacJapaneseEncoding: public DoubleByteEncoding
|
|
/// MacJapanese Encoding.
|
|
///
|
|
/// This text encoding class has been generated from
|
|
/// http://www.unicode.org/Public/MAPPINGS/VENDORS/APPLE/JAPANESE.TXT.
|
|
{
|
|
public:
|
|
MacJapaneseEncoding();
|
|
~MacJapaneseEncoding();
|
|
|
|
private:
|
|
static const char* _names[];
|
|
static const CharacterMap _charMap;
|
|
static const Mapping _mappingTable[];
|
|
static const Mapping _reverseMappingTable[];
|
|
};
|
|
|
|
|
|
} // namespace Poco
|
|
|
|
|
|
#endif // Encodings_MacJapaneseEncoding_INCLUDED
|