Back to index

lightning-sunbird  0.9+nobinonly
nsUCvCnCID.h
Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
00002 /* ***** BEGIN LICENSE BLOCK *****
00003  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00004  *
00005  * The contents of this file are subject to the Mozilla Public License Version
00006  * 1.1 (the "License"); you may not use this file except in compliance with
00007  * the License. You may obtain a copy of the License at
00008  * http://www.mozilla.org/MPL/
00009  *
00010  * Software distributed under the License is distributed on an "AS IS" basis,
00011  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012  * for the specific language governing rights and limitations under the
00013  * License.
00014  *
00015  * The Original Code is Mozilla Communicator client code.
00016  *
00017  * The Initial Developer of the Original Code is
00018  * Netscape Communications Corporation.
00019  * Portions created by the Initial Developer are Copyright (C) 1998
00020  * the Initial Developer. All Rights Reserved.
00021  *
00022  * Contributor(s):
00023  *
00024  * Alternatively, the contents of this file may be used under the terms of
00025  * either of the GNU General Public License Version 2 or later (the "GPL"),
00026  * or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00027  * in which case the provisions of the GPL or the LGPL are applicable instead
00028  * of those above. If you wish to allow use of your version of this file only
00029  * under the terms of either the GPL or the LGPL, and not to allow others to
00030  * use your version of this file under the terms of the MPL, indicate your
00031  * decision by deleting the provisions above and replace them with the notice
00032  * and other provisions required by the GPL or the LGPL. If you do not delete
00033  * the provisions above, a recipient may use your version of this file under
00034  * the terms of any one of the MPL, the GPL or the LGPL.
00035  *
00036  * ***** END LICENSE BLOCK ***** */
00037 
00038 #ifndef nsUCvCnCID_h___
00039 #define nsUCvCnCID_h___
00040 
00041 #include "nsISupports.h"
00042 
00043 // Class ID for our GB2312ToUnicode charset converter// {379C2774-EC77-11d2-8AAC-00600811A836}
00044 #define NS_GB2312TOUNICODE_CID \
00045   { 0x379c2774, 0xec77, 0x11d2, {0x8a, 0xac, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36}}
00046 
00047 // Class ID for our ISO2022CNToUnicode charset converter
00048 // {BA615199-1DFA-11d3-B3BF-00805F8A6670}
00049 #define NS_ISO2022CNTOUNICODE_CID \
00050   { 0xba615199, 0x1dfa, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00051  
00052 // Class ID for our HZToUnicode charset converter
00053 // {BA61519A-1DFA-11d3-B3BF-00805F8A6670}
00054 #define NS_HZTOUNICODE_CID \
00055   { 0xba61519a, 0x1dfa, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00056 
00057 // Class ID for our GBKToUnicode charset converter
00058 // {BA61519E-1DFA-11d3-B3BF-00805F8A6670}
00059 #define NS_GBKTOUNICODE_CID \
00060   { 0xba61519e, 0x1dfa, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00061 
00062 // Class ID for our UnicodeToGB2312 charset converter
00063 // {379C2777-EC77-11d2-8AAC-00600811A836}
00064 #define NS_UNICODETOGB2312_CID \
00065   { 0x379c2777, 0xec77, 0x11d2, {0x8a, 0xac, 0x0, 0x60, 0x8, 0x11, 0xa8, 0x36}}
00066 
00067 #ifdef MOZ_EXTRA_X11CONVERTERS
00068 // Class ID for our UnicodeToGB2312GL charset converter
00069 // {BA615196-1DFA-11d3-B3BF-00805F8A6670}
00070 #define NS_UNICODETOGB2312GL_CID \
00071   { 0xba615196, 0x1dfa, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00072 #endif
00073 
00074 // Class ID for our UnicodeToGBK charset converter
00075 // {BA61519B-1DFA-11d3-B3BF-00805F8A6670}
00076 #define NS_UNICODETOGBK_CID \
00077   { 0xba61519b, 0x1dfa, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00078 
00079 #ifdef MOZ_EXTRA_X11CONVERTERS
00080 // Class ID for our UnicodeToGBKNoAscii charset converter
00081 // {af0de730-1dd1-11b2-a8a1-b60772efe214}
00082 #define NS_UNICODETOGBKNOASCII_CID \
00083   { 0xaf0de730, 0x1dd1, 0x11b2, {0xa8, 0xa1, 0xb6, 0x07, 0x72, 0xef, 0xe2, 0x14}}
00084 #endif
00085 
00086 // Class ID for our UnicodeToISO2022CN charset converter
00087 // {BA61519C-1DFA-11d3-B3BF-00805F8A6670}
00088 #define NS_UNICODETOISO2022CN_CID \
00089   { 0xba61519c, 0x1dfa, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00090 
00091 // Class ID for our UnicodeToHZ charset converter
00092 // {BA61519D-1DFA-11d3-B3BF-00805F8A6670}
00093 #define NS_UNICODETOHZ_CID \
00094   { 0xba61519d, 0x1dfa, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00095 
00096 // Class ID for our CP936ToUnicode charset converter
00097 // {9416BFC0-1F93-11d3-B3BF-00805F8A6670}
00098 #define NS_CP936TOUNICODE_CID \
00099   { 0x9416bfc0, 0x1f93, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00100 
00101 // Class ID for our UnicodeToCP936 charset converter
00102 // {9416BFC1-1F93-11d3-B3BF-00805F8A6670}
00103 #define NS_UNICODETOCP936_CID \
00104   { 0x9416bfc1, 0x1f93, 0x11d3, {0xb3, 0xbf, 0x0, 0x80, 0x5f, 0x8a, 0x66, 0x70}}
00105 
00106 // Class ID for our UnicodeToGB18030 charset converter
00107 // {A59DA932-4091-11d5-A145-005004832142}
00108 #define NS_UNICODETOGB18030_CID \
00109   { 0xa59da932, 0x4091, 0x11d5, { 0xa1, 0x45, 0x0, 0x50, 0x4, 0x83, 0x21, 0x42 } }
00110 
00111 #ifdef MOZ_EXTRA_X11CONVERTERS
00112 // Class ID for our UnicodeToGB18030Font0 charset converter
00113 // {A59DA933-4091-11d5-A145-005004832142}
00114 #define NS_UNICODETOGB18030Font0_CID \
00115   { 0xa59da933, 0x4091, 0x11d5, { 0xa1, 0x45, 0x0, 0x50, 0x4, 0x83, 0x21, 0x42 } }
00116 
00117 // Class ID for our UnicodeToGB18030Font1 charset converter
00118 // {A59DA934-4091-11d5-A145-005004832142}
00119 #define NS_UNICODETOGB18030Font1_CID \
00120   { 0xa59da934, 0x4091, 0x11d5, { 0xa1, 0x45, 0x0, 0x50, 0x4, 0x83, 0x21, 0x42 } }
00121 #endif
00122 
00123 // Class ID for our GBKToUnicode charset converter
00124 // {A59DA935-4091-11d5-A145-005004832142}
00125 #define NS_GB18030TOUNICODE_CID \
00126   { 0xa59da935, 0x4091, 0x11d5, { 0xa1, 0x45, 0x0, 0x50, 0x4, 0x83, 0x21, 0x42 } }
00127 
00128 #endif /* nsUCvCnCID_h___ */