michael@0: /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #ifndef __nsUCConstructors_h michael@0: #define __nsUCConstructors_h michael@0: michael@0: #include michael@0: #include "nscore.h" michael@0: #include "nsID.h" michael@0: #include "uconvutil.h" michael@0: michael@0: class nsISupports; michael@0: michael@0: // all the useful constructors michael@0: NS_METHOD michael@0: CreateMultiTableDecoder(int32_t aTableCount, michael@0: const uRange * aRangeArray, michael@0: uScanClassID * aScanClassArray, michael@0: uMappingTable ** aMappingTable, michael@0: uint32_t aMaxLengthFactor, michael@0: michael@0: nsISupports* aOuter, michael@0: REFNSIID aIID, michael@0: void** aResult); michael@0: michael@0: NS_METHOD michael@0: CreateMultiTableEncoder(int32_t aTableCount, michael@0: uScanClassID * aScanClassArray, michael@0: uShiftOutTable ** aShiftOutTable, michael@0: uMappingTable ** aMappingTable, michael@0: uint32_t aMaxLengthFactor, michael@0: nsISupports* aOuter, michael@0: REFNSIID aIID, michael@0: void** aResult); michael@0: michael@0: NS_METHOD michael@0: CreateTableEncoder(uScanClassID aScanClass, michael@0: uShiftOutTable * aShiftOutTable, michael@0: uMappingTable * aMappingTable, michael@0: uint32_t aMaxLengthFactor, michael@0: nsISupports* aOuter, michael@0: REFNSIID aIID, michael@0: void** aResult); michael@0: michael@0: NS_METHOD michael@0: CreateMultiTableEncoder(int32_t aTableCount, michael@0: uScanClassID * aScanClassArray, michael@0: uMappingTable ** aMappingTable, michael@0: uint32_t aMaxLengthFactor, michael@0: nsISupports* aOuter, michael@0: REFNSIID aIID, michael@0: void** aResult); michael@0: michael@0: NS_METHOD michael@0: CreateTableEncoder(uScanClassID aScanClass, michael@0: uMappingTable * aMappingTable, michael@0: uint32_t aMaxLengthFactor, michael@0: nsISupports* aOuter, michael@0: REFNSIID aIID, michael@0: void** aResult); michael@0: michael@0: NS_METHOD michael@0: CreateTableDecoder(uScanClassID aScanClass, michael@0: uShiftInTable * aShiftInTable, michael@0: uMappingTable * aMappingTable, michael@0: uint32_t aMaxLengthFactor, michael@0: nsISupports* aOuter, michael@0: REFNSIID aIID, michael@0: void** aResult); michael@0: michael@0: NS_METHOD michael@0: CreateOneByteDecoder(uMappingTable * aMappingTable, michael@0: nsISupports* aOuter, michael@0: REFNSIID aIID, michael@0: void** aResult); michael@0: michael@0: michael@0: #endif