Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/class/I18N/CJK/KSConvert.cs')
-rw-r--r--mcs/class/I18N/CJK/KSConvert.cs31
1 files changed, 31 insertions, 0 deletions
diff --git a/mcs/class/I18N/CJK/KSConvert.cs b/mcs/class/I18N/CJK/KSConvert.cs
new file mode 100644
index 00000000000..5b0198538d0
--- /dev/null
+++ b/mcs/class/I18N/CJK/KSConvert.cs
@@ -0,0 +1,31 @@
+//
+// I18N.CJK.KSConvert
+//
+// Author:
+// Hye-Shik Chang <perky@FreeBSD.org>
+//
+
+using System;
+
+namespace I18N.CJK
+{
+ internal sealed class KSConvert : DbcsConvert
+ {
+ // Dummy constructor, no one is aupposed to call it
+ private KSConvert() : base("ks.table") {}
+
+ // The one and only KS conversion object in the system.
+ private static DbcsConvert convert;
+
+ // Get the primary KS conversion object.
+ public static DbcsConvert Convert
+ {
+ get {
+ if (convert == null) convert = new DbcsConvert("ks.table");
+ return convert;
+ }
+ }
+ }
+}
+
+// ex: ts=8 sts=4 et