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