2012-05-21 15:12:37 +04:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2004-04-20 06:46:49 +04:00
|
|
|
|
|
|
|
#include "nsUCConstructors.h"
|
|
|
|
#include "nsCP869ToUnicode.h"
|
|
|
|
|
|
|
|
//----------------------------------------------------------------------
|
|
|
|
// Global functions and data [declaration]
|
|
|
|
|
2012-08-22 19:56:38 +04:00
|
|
|
static const uint16_t g_utMappingTable[] = {
|
2004-04-20 06:46:49 +04:00
|
|
|
#include "cp869.ut"
|
|
|
|
};
|
|
|
|
|
2010-06-10 22:11:40 +04:00
|
|
|
nsresult
|
2004-04-20 06:46:49 +04:00
|
|
|
nsCP869ToUnicodeConstructor(nsISupports *aOuter, REFNSIID aIID,
|
|
|
|
void **aResult)
|
|
|
|
{
|
2006-08-07 11:57:31 +04:00
|
|
|
return CreateOneByteDecoder((uMappingTable*) &g_utMappingTable,
|
2004-04-20 06:46:49 +04:00
|
|
|
aOuter, aIID, aResult);
|
|
|
|
}
|
|
|
|
|