1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/uconv/ucvibm/nsCP864ToUnicode.cpp Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- 1.5 + * 1.6 + * This Source Code Form is subject to the terms of the Mozilla Public 1.7 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.8 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. 1.9 + * 1.10 + * This Original Code has been modified by IBM Corporation. 1.11 + * Modifications made by IBM described herein are 1.12 + * Copyright (c) International Business Machines 1.13 + * Corporation, 1999 1.14 + * 1.15 + * Modifications to Mozilla code or documentation 1.16 + * identified per MPL Section 3.3 1.17 + * 1.18 + * Date Modified by Description of modification 1.19 + * 12/09/1999 IBM Corp. Support for IBM codepage 864 1.20 + * 1.21 + */ 1.22 + 1.23 +#include "nsUCConstructors.h" 1.24 +#include "nsCP864ToUnicode.h" 1.25 + 1.26 +//---------------------------------------------------------------------- 1.27 +// Global functions and data [declaration] 1.28 + 1.29 +nsresult 1.30 +nsCP864ToUnicodeConstructor(nsISupports *aOuter, REFNSIID aIID, 1.31 + void **aResult) 1.32 +{ 1.33 + static const uint16_t g_utMappingTable[] = { 1.34 +#include "cp864.ut" 1.35 + }; 1.36 + 1.37 + return CreateOneByteDecoder((uMappingTable*) &g_utMappingTable, 1.38 + aOuter, aIID, aResult); 1.39 +} 1.40 +