1 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
3 * ***** BEGIN LICENSE BLOCK *****
4 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 1.1 (the "License"); you may not use this file except in compliance with
8 * the License. You may obtain a copy of the License at
9 * http://www.mozilla.org/MPL/
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
16 * The Original Code is Mozilla Communicator client code.
18 * The Initial Developer of the Original Code is
19 * Netscape Communications Corporation.
20 * Portions created by the Initial Developer are Copyright (C) 1998
21 * the Initial Developer. All Rights Reserved.
26 * Alternatively, the contents of this file may be used under the terms of
27 * either of the GNU General Public License Version 2 or later (the "GPL"),
28 * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
29 * in which case the provisions of the GPL or the LGPL are applicable instead
30 * of those above. If you wish to allow use of your version of this file only
31 * under the terms of either the GPL or the LGPL, and not to allow others to
32 * use your version of this file under the terms of the MPL, indicate your
33 * decision by deleting the provisions above and replace them with the notice
34 * and other provisions required by the GPL or the LGPL. If you do not delete
35 * the provisions above, a recipient may use your version of this file under
36 * the terms of any one of the MPL, the GPL or the LGPL.
38 * ***** END LICENSE BLOCK *****
40 * This Original Code has been modified by IBM Corporation.
41 * Modifications made by IBM described herein are
42 * Copyright (c) International Business Machines
45 * Modifications to Mozilla code or documentation
46 * identified per MPL Section 3.3
48 * Date Modified by Description of modification
49 * 12/09/1999 IBM Corp. Support for IBM codepages - 850,852,55,857,862,864
50 * 06/24/2003 IBM Corp. Support for IBM codepage 1046
54 #ifndef nsUCvIBMCID_h___
55 #define nsUCvIBMCID_h___
57 #include "nsISupports.h"
60 // Class ID for our CP850ToUnicode charset converter
61 // {2D524FD0-AE74-11d3-ABF7-0004ACEEFA51}
62 #define NS_CP850TOUNICODE_CID \
63 { 0x2d524fd0, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
65 // Class ID for our CP852ToUnicode charset converter
66 // {2D524FD1-AE74-11d3-ABF7-0004ACEEFA51}
67 #define NS_CP852TOUNICODE_CID \
68 { 0x2d524fd1, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
70 // Class ID for our CP855ToUnicode charset converter
71 // {2D524FD2-AE74-11d3-ABF7-0004ACEEFA51}
72 #define NS_CP855TOUNICODE_CID \
73 { 0x2d524fd2, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
75 // Class ID for our CP857ToUnicode charset converter
76 // {2D524FD3-AE74-11d3-ABF7-0004ACEEFA51}
77 #define NS_CP857TOUNICODE_CID \
78 { 0x2d524fd3, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
80 // Class ID for our CP862ToUnicode charset converter
81 // {2D524FD4-AE74-11d3-ABF7-0004ACEEFA51}
82 #define NS_CP862TOUNICODE_CID \
83 { 0x2d524fd4, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
85 // Class ID for our CP864ToUnicode charset converter
86 // {2D524FD5-AE74-11d3-ABF7-0004ACEEFA51}
87 #define NS_CP864TOUNICODE_CID \
88 { 0x2d524fd5, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
90 // Class ID for our UnicodeToCP850 charset converter
91 // {2D524FD6-AE74-11d3-ABF7-0004ACEEFA51}
92 #define NS_UNICODETOCP850_CID \
93 { 0x2d524fd6, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
95 // Class ID for our UnicodeToCP852 charset converter
96 // {2D524FD7-AE74-11d3-ABF7-0004ACEEFA51}
97 #define NS_UNICODETOCP852_CID \
98 { 0x2d524fd7, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
100 // Class ID for our UnicodeToCP855 charset converter
101 // {2D524FD8-AE74-11d3-ABF7-0004ACEEFA51}
102 #define NS_UNICODETOCP855_CID \
103 { 0x2d524fd8, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
105 // Class ID for our UnicodeToCP857 charset converter
106 // {2D524FD9-AE74-11d3-ABF7-0004ACEEFA51}
107 #define NS_UNICODETOCP857_CID \
108 { 0x2d524fd9, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
110 // Class ID for our UnicodeToCP862 charset converter
111 // {2D524FDA-AE74-11d3-ABF7-0004ACEEFA51}
112 #define NS_UNICODETOCP862_CID \
113 { 0x2d524fda, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
115 // Class ID for our UnicodeToCP864 charset converter
116 // {2D524FDB-AE74-11d3-ABF7-0004ACEEFA51}
117 #define NS_UNICODETOCP864_CID \
118 { 0x2d524fdb, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
120 // Class ID for our CP864iToUnicode charset converter
121 // {2D524FDC-AE74-11d3-ABF7-0004ACEEFA51}
122 #define NS_CP864ITOUNICODE_CID \
123 { 0x2d524fdc, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
125 // Class ID for our UnicodeToCP864i charset converter
126 // {2D524FDD-AE74-11d3-ABF7-0004ACEEFA51}
127 #define NS_UNICODETOCP864I_CID \
128 { 0x2d524fdd, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
130 // Class ID for our CP869ToUnicode charset converter
131 // {2D524FE0-AE74-11d3-ABF7-0004ACEEFA51}
132 #define NS_CP869TOUNICODE_CID \
133 { 0x2d524fe0, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
135 // Class ID for our UnicodeToCP869 charset converter
136 // {2D524FE1-AE74-11d3-ABF7-0004ACEEFA51}
137 #define NS_UNICODETOCP869_CID \
138 { 0x2d524fe1, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
140 // Class ID for our CP125ToUnicode charset converter
141 // {2D524FE2-AE74-11d3-ABF7-0004ACEEFA51}
142 #define NS_CP1125TOUNICODE_CID \
143 { 0x2d524fe2, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
145 // Class ID for our UnicodeToCP1125 charset converter
146 // {2D524FE3-AE74-11d3-ABF7-0004ACEEFA51}
147 #define NS_UNICODETOCP1125_CID \
148 { 0x2d524fe3, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
150 // Class ID for our CP11311ToUnicode charset converter
151 // {2D524FE4-AE74-11d3-ABF7-0004ACEEFA51}
152 #define NS_CP1131TOUNICODE_CID \
153 { 0x2d524fe4, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
155 // Class ID for our UnicodeToCP1131 charset converter
156 // {2D524FE5-AE74-11d3-ABF7-0004ACEEFA51}
157 #define NS_UNICODETOCP1131_CID \
158 { 0x2d524fe5, 0xae74, 0x11d3, {0xab, 0xf7, 0x0, 0x4, 0xac, 0xee, 0xfa, 0x51}}
160 #endif /* nsUCvIBMCID_h___ */