X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/57a6839dcb3bba09e8228b822b290604668416fe..2ca993e82fb37b597a3c73ecd1586a139a6579c5:/icuSources/i18n/csrsbcs.h diff --git a/icuSources/i18n/csrsbcs.h b/icuSources/i18n/csrsbcs.h index 2579c029..046da679 100644 --- a/icuSources/i18n/csrsbcs.h +++ b/icuSources/i18n/csrsbcs.h @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (C) 2005-2013, International Business Machines + * Copyright (C) 2005-2015, International Business Machines * Corporation and others. All Rights Reserved. ********************************************************************** */ @@ -33,6 +33,7 @@ protected: public: NGramParser(const int32_t *theNgramList, const uint8_t *theCharMap); + virtual ~NGramParser(); private: /* @@ -50,17 +51,20 @@ public: }; +#if !UCONFIG_ONLY_HTML_CONVERSION class NGramParser_IBM420 : public NGramParser { -private: - int32_t alef; - int32_t isLamAlef(int32_t b); - int32_t nextByte(InputText *det); - void parseCharacters(InputText *det); - public: NGramParser_IBM420(const int32_t *theNgramList, const uint8_t *theCharMap); + ~NGramParser_IBM420(); + +private: + int32_t alef; + int32_t isLamAlef(int32_t b); + int32_t nextByte(InputText *det); + void parseCharacters(InputText *det); }; +#endif class CharsetRecog_sbcs : public CharsetRecognizer @@ -229,6 +233,7 @@ public: virtual UBool match(InputText *det, CharsetMatch *results) const; }; +#if !UCONFIG_ONLY_HTML_CONVERSION class CharsetRecog_IBM424_he : public CharsetRecog_sbcs { public: @@ -280,6 +285,7 @@ class CharsetRecog_IBM420_ar_ltr : public CharsetRecog_IBM420_ar { virtual UBool match(InputText *det, CharsetMatch *results) const; }; +#endif U_NAMESPACE_END