Fix for UBSan build
[platform/upstream/doxygen.git] / src / translator_je.h
1 /******************************************************************************
2  *
3  *
4  *
5  * Copyright (C) 1997-2012 by Dimitri van Heesch.
6  *
7  * Permission to use, copy, modify, and distribute this software and its
8  * documentation under the terms of the GNU General Public License is hereby
9  * granted. No representations are made about the suitability of this software
10  * for any purpose. It is provided "as is" without express or implied warranty.
11  * See the GNU General Public License for more details.
12  *
13  * Documents produced by Doxygen are derivative works derived from the
14  * input used in their production; they are not affected by this license.
15  *
16  */
17
18 /*
19  * translator_jp.h
20  *
21  * 1.2.5)
22  * First Translation
23  *      by Kenji Nagamatsu
24  * 1.2.12)
25  * Update and Shift-Jis(_WIN32)
26  *      by Ryunosuke Sato (30-Dec-2001)
27  */
28
29 #ifndef TRANSLATOR_JE_H
30 #define TRANSLATOR_JE_H
31
32 class TranslatorJapaneseEn : public TranslatorEnglish
33 {
34   public:
35     virtual QCString idLanguage()
36     { return "japanese-en"; }
37     virtual QCString latexLanguageSupportCommand()
38       {
39         return "platex";
40       }
41     /*! returns the name of the package that is included by LaTeX */
42     virtual QCString idLanguageCharset()
43     {
44       //if (Config_getBool("USE_WINDOWS_ENCODING"))
45       //{
46       //  return "Shift_JIS";
47       //}
48       //else
49       //{
50         return "euc-jp";
51       //}
52     }
53     virtual QCString trRTFansicp()
54     {
55       return "932";
56     }
57
58     /*! Used as ansicpg for RTF fcharset
59      *  \see trRTFansicp() for a table of possible values.
60      */
61     virtual QCString trRTFCharSet()
62     {
63       return "128";
64     }
65 };
66
67 #endif