add cid and class mapping
git-svn-id: svn://10.0.0.236/trunk@34358 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include "nsUCvCnDll.h"
|
||||
#include "nsGB2312ToUnicode.h"
|
||||
#include "nsUnicodeToGB2312.h"
|
||||
#include "nsUnicodeToGB2312GL.h"
|
||||
|
||||
// just for NS_IMPL_IDS; this is a good, central place to implement GUIDs
|
||||
#include "nsIUnicodeDecoder.h"
|
||||
@@ -83,6 +84,12 @@ FactoryData g_FactoryData[] =
|
||||
"Unicode",
|
||||
"GB2312"
|
||||
},
|
||||
{
|
||||
&kUnicodeToGB2312GLCID,
|
||||
nsUnicodeToGB2312GL::CreateInstance,
|
||||
"Unicode",
|
||||
"gb_2312-80"
|
||||
},
|
||||
};
|
||||
|
||||
#define ARRAY_SIZE(_array) \
|
||||
|
||||
@@ -31,6 +31,9 @@
|
||||
#include "nsISO2022JPToUnicode.h"
|
||||
#include "nsUnicodeToEUCJP.h"
|
||||
#include "nsUnicodeToISO2022JP.h"
|
||||
#include "nsUnicodeToJISx0201.h"
|
||||
#include "nsUnicodeToJISx0208.h"
|
||||
#include "nsUnicodeToJISx0212.h"
|
||||
|
||||
// just for NS_IMPL_IDS; this is a good, central place to implement GUIDs
|
||||
#include "nsIUnicodeDecoder.h"
|
||||
@@ -103,6 +106,24 @@ FactoryData g_FactoryData[] =
|
||||
"Unicode",
|
||||
"EUC-JP"
|
||||
},
|
||||
{
|
||||
&kUnicodeToJISx0201CID,
|
||||
nsUnicodeToJISx0201::CreateInstance,
|
||||
"Unicode",
|
||||
"jis_0201"
|
||||
},
|
||||
{
|
||||
&kUnicodeToJISx0208CID,
|
||||
nsUnicodeToJISx0208::CreateInstance,
|
||||
"Unicode",
|
||||
"jis_0208-1983"
|
||||
},
|
||||
{
|
||||
&kUnicodeToJISx0212CID,
|
||||
nsUnicodeToJISx0212::CreateInstance,
|
||||
"Unicode",
|
||||
"jis_0212-1990"
|
||||
},
|
||||
{
|
||||
&kUnicodeToISO2022JPCID,
|
||||
nsUnicodeToISO2022JP::CreateInstance,
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "nsUCvKODll.h"
|
||||
#include "nsEUCKRToUnicode.h"
|
||||
#include "nsUnicodeToEUCKR.h"
|
||||
#include "nsUnicodeToKSC5601.h"
|
||||
|
||||
// just for NS_IMPL_IDS; this is a good, central place to implement GUIDs
|
||||
#include "nsIUnicodeDecoder.h"
|
||||
@@ -83,6 +84,12 @@ FactoryData g_FactoryData[] =
|
||||
nsUnicodeToEUCKR::CreateInstance,
|
||||
"Unicode",
|
||||
"EUC-KR"
|
||||
},
|
||||
{
|
||||
&kUnicodeToKSC5601CID,
|
||||
nsUnicodeToKSC5601::CreateInstance,
|
||||
"Unicode",
|
||||
"ks_c_5601-1987"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "nsUCvTWDll.h"
|
||||
#include "nsBIG5ToUnicode.h"
|
||||
#include "nsUnicodeToBIG5.h"
|
||||
#include "nsUnicodeToBIG5NoAscii.h"
|
||||
|
||||
// just for NS_IMPL_IDS; this is a good, central place to implement GUIDs
|
||||
#include "nsIUnicodeDecoder.h"
|
||||
@@ -81,6 +82,12 @@ FactoryData g_FactoryData[] =
|
||||
nsUnicodeToBIG5::CreateInstance,
|
||||
"Unicode",
|
||||
"BIG5"
|
||||
},
|
||||
{
|
||||
&kUnicodeToBIG5NoAsciiCID,
|
||||
nsUnicodeToBIG5NoAscii::CreateInstance,
|
||||
"Unicode",
|
||||
"x-x-big5"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -29,6 +29,8 @@
|
||||
#include "nsUCvTW2Dll.h"
|
||||
#include "nsEUCTWToUnicode.h"
|
||||
#include "nsUnicodeToEUCTW.h"
|
||||
#include "nsUnicodeToCNS11643p1.h"
|
||||
#include "nsUnicodeToCNS11643p2.h"
|
||||
|
||||
// just for NS_IMPL_IDS; this is a good, central place to implement GUIDs
|
||||
#include "nsIUnicodeDecoder.h"
|
||||
@@ -88,6 +90,18 @@ FactoryData g_FactoryData[] =
|
||||
nsUnicodeToEUCTW::CreateInstance,
|
||||
"Unicode",
|
||||
"X-EUC-TW"
|
||||
},
|
||||
{
|
||||
&kUnicodeToCNS11643p1CID,
|
||||
nsUnicodeToCNS11643p1::CreateInstance,
|
||||
"Unicode",
|
||||
"x-cns-11643-1"
|
||||
},
|
||||
{
|
||||
&kUnicodeToCNS11643p2CID,
|
||||
nsUnicodeToCNS11643p2::CreateInstance,
|
||||
"Unicode",
|
||||
"x-cns-11643-2"
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user