// SPDX-License-Identifier: MIT OR MPL-2.0 OR LGPL-2.1-or-later OR GPL-2.0-or-later // Copyright 2010, SIL International, All rights reserved. #include "inc/Main.h" #include "inc/Endian.h" #include "inc/NameTable.h" #include "inc/UtfCodec.h" usingnamespacegraphite2; NameTable::NameTable(const void* data, size_t length, uint16 platformId, uint16 encodingID) : … { … } uint16 NameTable::setPlatformEncoding(uint16 platformId, uint16 encodingID) { … } void* NameTable::getName(uint16& languageId, uint16 nameId, gr_encform enc, uint32& length) { … } uint16 NameTable::getLanguageId(const char * bcp47Locale) { … }