OLD | NEW |
1 /* | 1 /* |
2 ********************************************************************** | 2 ********************************************************************** |
3 * Copyright (C) 2005-2012, International Business Machines | 3 * Copyright (C) 2005-2012, International Business Machines |
4 * Corporation and others. All Rights Reserved. | 4 * Corporation and others. All Rights Reserved. |
5 ********************************************************************** | 5 ********************************************************************** |
6 */ | 6 */ |
7 | 7 |
8 #ifndef __CSR2022_H | 8 #ifndef __CSR2022_H |
9 #define __CSR2022_H | 9 #define __CSR2022_H |
10 | 10 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 class CharsetRecog_2022JP :public CharsetRecog_2022 | 58 class CharsetRecog_2022JP :public CharsetRecog_2022 |
59 { | 59 { |
60 public: | 60 public: |
61 virtual ~CharsetRecog_2022JP(); | 61 virtual ~CharsetRecog_2022JP(); |
62 | 62 |
63 const char *getName() const; | 63 const char *getName() const; |
64 | 64 |
65 UBool match(InputText *textIn, CharsetMatch *results) const; | 65 UBool match(InputText *textIn, CharsetMatch *results) const; |
66 }; | 66 }; |
67 | 67 |
| 68 #if !UCONFIG_NO_NON_HTML5_CONVERSION |
68 class CharsetRecog_2022KR :public CharsetRecog_2022 { | 69 class CharsetRecog_2022KR :public CharsetRecog_2022 { |
69 public: | 70 public: |
70 virtual ~CharsetRecog_2022KR(); | 71 virtual ~CharsetRecog_2022KR(); |
71 | 72 |
72 const char *getName() const; | 73 const char *getName() const; |
73 | 74 |
74 UBool match(InputText *textIn, CharsetMatch *results) const; | 75 UBool match(InputText *textIn, CharsetMatch *results) const; |
75 | 76 |
76 }; | 77 }; |
77 | 78 |
78 class CharsetRecog_2022CN :public CharsetRecog_2022 | 79 class CharsetRecog_2022CN :public CharsetRecog_2022 |
79 { | 80 { |
80 public: | 81 public: |
81 virtual ~CharsetRecog_2022CN(); | 82 virtual ~CharsetRecog_2022CN(); |
82 | 83 |
83 const char* getName() const; | 84 const char* getName() const; |
84 | 85 |
85 UBool match(InputText *textIn, CharsetMatch *results) const; | 86 UBool match(InputText *textIn, CharsetMatch *results) const; |
86 }; | 87 }; |
| 88 #endif |
87 | 89 |
88 U_NAMESPACE_END | 90 U_NAMESPACE_END |
89 | 91 |
90 #endif | 92 #endif |
91 #endif /* __CSR2022_H */ | 93 #endif /* __CSR2022_H */ |
OLD | NEW |