intl/uconv/util/nsUCConstructors.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
michael@0 2 /* This Source Code Form is subject to the terms of the Mozilla Public
michael@0 3 * License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 4 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
michael@0 5
michael@0 6 #ifndef __nsUCConstructors_h
michael@0 7 #define __nsUCConstructors_h
michael@0 8
michael@0 9 #include <stdint.h>
michael@0 10 #include "nscore.h"
michael@0 11 #include "nsID.h"
michael@0 12 #include "uconvutil.h"
michael@0 13
michael@0 14 class nsISupports;
michael@0 15
michael@0 16 // all the useful constructors
michael@0 17 NS_METHOD
michael@0 18 CreateMultiTableDecoder(int32_t aTableCount,
michael@0 19 const uRange * aRangeArray,
michael@0 20 uScanClassID * aScanClassArray,
michael@0 21 uMappingTable ** aMappingTable,
michael@0 22 uint32_t aMaxLengthFactor,
michael@0 23
michael@0 24 nsISupports* aOuter,
michael@0 25 REFNSIID aIID,
michael@0 26 void** aResult);
michael@0 27
michael@0 28 NS_METHOD
michael@0 29 CreateMultiTableEncoder(int32_t aTableCount,
michael@0 30 uScanClassID * aScanClassArray,
michael@0 31 uShiftOutTable ** aShiftOutTable,
michael@0 32 uMappingTable ** aMappingTable,
michael@0 33 uint32_t aMaxLengthFactor,
michael@0 34 nsISupports* aOuter,
michael@0 35 REFNSIID aIID,
michael@0 36 void** aResult);
michael@0 37
michael@0 38 NS_METHOD
michael@0 39 CreateTableEncoder(uScanClassID aScanClass,
michael@0 40 uShiftOutTable * aShiftOutTable,
michael@0 41 uMappingTable * aMappingTable,
michael@0 42 uint32_t aMaxLengthFactor,
michael@0 43 nsISupports* aOuter,
michael@0 44 REFNSIID aIID,
michael@0 45 void** aResult);
michael@0 46
michael@0 47 NS_METHOD
michael@0 48 CreateMultiTableEncoder(int32_t aTableCount,
michael@0 49 uScanClassID * aScanClassArray,
michael@0 50 uMappingTable ** aMappingTable,
michael@0 51 uint32_t aMaxLengthFactor,
michael@0 52 nsISupports* aOuter,
michael@0 53 REFNSIID aIID,
michael@0 54 void** aResult);
michael@0 55
michael@0 56 NS_METHOD
michael@0 57 CreateTableEncoder(uScanClassID aScanClass,
michael@0 58 uMappingTable * aMappingTable,
michael@0 59 uint32_t aMaxLengthFactor,
michael@0 60 nsISupports* aOuter,
michael@0 61 REFNSIID aIID,
michael@0 62 void** aResult);
michael@0 63
michael@0 64 NS_METHOD
michael@0 65 CreateTableDecoder(uScanClassID aScanClass,
michael@0 66 uShiftInTable * aShiftInTable,
michael@0 67 uMappingTable * aMappingTable,
michael@0 68 uint32_t aMaxLengthFactor,
michael@0 69 nsISupports* aOuter,
michael@0 70 REFNSIID aIID,
michael@0 71 void** aResult);
michael@0 72
michael@0 73 NS_METHOD
michael@0 74 CreateOneByteDecoder(uMappingTable * aMappingTable,
michael@0 75 nsISupports* aOuter,
michael@0 76 REFNSIID aIID,
michael@0 77 void** aResult);
michael@0 78
michael@0 79
michael@0 80 #endif

mercurial