home *** CD-ROM | disk | FTP | other *** search
/ Tools / WinSN5.0Ver.iso / NETSCAP.50 / WIN1998.ZIP / ns / cmd / macfe / restext / ufrm.r < prev    next >
Encoding:
Text File  |  1998-04-08  |  4.9 KB  |  171 lines

  1.  /*
  2.  * The contents of this file are subject to the Netscape Public License
  3.  * Version 1.0 (the "NPL"); you may not use this file except in
  4.  * compliance with the NPL.  You may obtain a copy of the NPL at
  5.  * http://www.mozilla.org/NPL/
  6.  *
  7.  * Software distributed under the NPL is distributed on an "AS IS" basis,
  8.  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
  9.  * for the specific language governing rights and limitations under the
  10.  * NPL.
  11.  *
  12.  * The Initial Developer of this code under the NPL is Netscape
  13.  * Communications Corporation.  Portions created by Netscape are
  14.  * Copyright (C) 1998 Netscape Communications Corporation.  All Rights
  15.  * Reserved.
  16.  */
  17. #include "csid.h"
  18. #include "resgui.h"
  19.  
  20. /*    Conversion Table That Convert From Unicode to Script Text */
  21. type 'UFRM' {
  22.         array uint {
  23.         unsigned integer;    /* Just an uint16 */
  24.     };
  25. };
  26. /*    Conversion Table That Convert From  Script Text to Unicode */
  27. type 'UTO ' {
  28.         array uint {
  29.         unsigned integer;    /* Just an uint16 */
  30.     };
  31. };
  32.  
  33.  
  34. /* a Priorized List of csid that will be used to render unicode */
  35. type CSIDLIST_RESTYPE {
  36.     integer = $$CountOf(table);
  37.     wide array table    {
  38.         unsigned integer;    /* csid  */
  39.     };
  40. };
  41.  
  42. #define RES_CS_MAC_ICELANDIC    (CS_MAC_ROMAN | 0x1000)    /* ftang- fix me after 4.0 */
  43.  
  44. resource 'UFRM' ( RES_CS_MAC_ICELANDIC, "macicela.uf- RES_CS_MAC_ICELANDIC", purgeable) {{ 
  45. #include "macicela.uf"
  46. }};
  47. resource 'UFRM' ( CS_MAC_ROMAN, "macroman.uf- CS_MAC_ROMAN", purgeable) {{ 
  48. #include "macroman.uf"
  49. }};
  50. resource 'UFRM' ( CS_SJIS, "sjis.uf- CS_LATIN1", purgeable) {{ 
  51. #include "sjis.uf"
  52. }};
  53. resource 'UFRM' ( CS_MAC_CE, "macce.uf- CS_MAC_CE", purgeable) {{ 
  54. #include "macce.uf"
  55. }};
  56. resource 'UFRM' ( CS_BIG5, "big5.uf- CS_BIG5", purgeable) {{ 
  57. #include "big5.uf"
  58. }};
  59. resource 'UFRM' ( CS_GB_8BIT, "gb2312.uf- CS_GB_8BIT", purgeable) {{ 
  60. #include "gb2312.uf"
  61. }};
  62. resource 'UFRM' ( CS_KSC_8BIT, "ksc5601.uf- CS_KSC_8BIT", purgeable) {{ 
  63. #include "u20kscgl.uf"
  64. }};
  65. resource 'UFRM' ( CS_DINGBATS, "macdingb.uf- CS_DINGBATS", purgeable) {{ 
  66. #include "macdingb.uf"
  67. }};
  68. resource 'UFRM' ( CS_SYMBOL, "macsymbo.uf- CS_SYMBOL", purgeable) {{ 
  69. #include "macsymbo.uf"
  70. }};
  71. resource 'UFRM' ( CS_MAC_CYRILLIC, "maccyril.uf- CS_MAC_CYRILLIC", purgeable) {{ 
  72. #include "maccyril.uf"
  73. }};
  74. resource 'UFRM' ( CS_MAC_GREEK, "macgreek.uf- CS_MAC_GREEK", purgeable) {{ 
  75. #include "macgreek.uf"
  76. }};
  77. resource 'UFRM' ( CS_MAC_TURKISH, "macturki.uf- CS_MAC_TURKISH", purgeable) {{ 
  78. #include "macturki.uf"
  79. }};
  80.  
  81.  
  82. resource 'UTO '  ( RES_CS_MAC_ICELANDIC, "macicela.ut- RES_CS_MAC_ICELANDIC", purgeable) {{ 
  83. #include "macicela.ut"
  84. }};
  85. resource 'UTO '  ( CS_MAC_ROMAN, "macroman.ut- CS_MAC_ROMAN", purgeable) {{ 
  86. #include "macroman.ut"
  87. }};
  88. resource 'UTO '  ( CS_SJIS, "sjis.ut- CS_LATIN1", purgeable) {{ 
  89. #include "sjis.ut"
  90. }};
  91. resource 'UTO '  ( CS_MAC_CE, "macce.ut- CS_MAC_CE", purgeable) {{ 
  92. #include "macce.ut"
  93. }};
  94. resource 'UTO '  ( CS_BIG5, "big5.ut- CS_BIG5", purgeable) {{ 
  95. #include "big5.ut"
  96. }};
  97. resource 'UTO '  ( CS_GB_8BIT, "gb2312.ut- CS_GB_8BIT", purgeable) {{ 
  98. #include "gb2312.ut"
  99. }};
  100. resource 'UTO '  ( CS_KSC_8BIT, "ksc5601.ut- CS_KSC_8BIT", purgeable) {{ 
  101. #include "u20kscgl.ut"
  102. }};
  103. resource 'UTO ' ( CS_DINGBATS, "macdingb.ut- CS_DINGBATS", purgeable) {{ 
  104. #include "macdingb.ut"
  105. }};
  106. resource 'UTO ' ( CS_SYMBOL, "macsymbo.ut- CS_SYMBOL", purgeable) {{ 
  107. #include "macsymbo.ut"
  108. }};
  109. resource 'UTO ' ( CS_MAC_CYRILLIC, "maccyril.ut- CS_MAC_CYRILLIC", purgeable) {{ 
  110. #include "macdingb.ut"
  111. }};
  112. resource 'UTO ' ( CS_MAC_GREEK, "macgreek.ut- CS_MAC_GREEK", purgeable) {{ 
  113. #include "macgreek.ut"
  114. }};
  115. resource 'UTO ' ( CS_MAC_TURKISH, "macturki.ut- CS_MAC_TURKISH", purgeable) {{ 
  116. #include "macturki.ut"
  117. }};
  118.  
  119. resource CSIDLIST_RESTYPE (CSIDLIST_RESID, "Roman/CE/Cy/Gr/J/TC/SC/K/Symbol/Dingbats/Tr", purgeable) {{
  120.     CS_MAC_ROMAN,
  121.     CS_MAC_CE,
  122.     CS_MAC_CYRILLIC,
  123.     CS_MAC_GREEK,
  124.     CS_SJIS,
  125.     CS_BIG5,
  126.     CS_GB_8BIT,
  127.     CS_KSC_8BIT,
  128.     CS_SYMBOL,
  129.     CS_DINGBATS,
  130.     CS_MAC_TURKISH
  131. }};
  132. resource CSIDLIST_RESTYPE (CSIDLIST_RESID+1, "Roman/CE/Cy/Gr/TC/SC/K/J/Symbol/Dingbats/Tr", purgeable) {{
  133.     CS_MAC_ROMAN,
  134.     CS_MAC_CE,
  135.     CS_MAC_CYRILLIC,
  136.     CS_MAC_GREEK,
  137.     CS_BIG5,
  138.     CS_GB_8BIT,
  139.     CS_KSC_8BIT,
  140.     CS_SJIS,
  141.     CS_SYMBOL,
  142.     CS_DINGBATS,
  143.     CS_MAC_TURKISH
  144. }};
  145. resource CSIDLIST_RESTYPE (CSIDLIST_RESID+2, "Roman/CE/Cy/Gr/SC/K/J/TC/Symbol/Dingbats/Tr", purgeable) {{
  146.     CS_MAC_ROMAN,
  147.     CS_MAC_CE,
  148.     CS_MAC_CYRILLIC,
  149.     CS_MAC_GREEK,
  150.     CS_GB_8BIT,
  151.     CS_KSC_8BIT,
  152.     CS_SJIS,
  153.     CS_BIG5,
  154.     CS_SYMBOL,
  155.     CS_DINGBATS,
  156.     CS_MAC_TURKISH
  157. }};
  158. resource CSIDLIST_RESTYPE (CSIDLIST_RESID+3, "Roman/CE/Cy/Gr/K/J/TC/SC/Symbol/Dingbats/Tr", purgeable) {{
  159.     CS_MAC_ROMAN,
  160.     CS_MAC_CE,
  161.     CS_MAC_CYRILLIC,
  162.     CS_MAC_GREEK,
  163.     CS_KSC_8BIT,
  164.     CS_SJIS,
  165.     CS_BIG5,
  166.     CS_GB_8BIT,
  167.     CS_SYMBOL,
  168.     CS_DINGBATS,
  169.     CS_MAC_TURKISH
  170. }};
  171.