diff options
Diffstat (limited to 'Build/source/libs/icu/icu-xetex/i18n/csmatch.h')
-rw-r--r-- | Build/source/libs/icu/icu-xetex/i18n/csmatch.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-xetex/i18n/csmatch.h b/Build/source/libs/icu/icu-xetex/i18n/csmatch.h new file mode 100644 index 00000000000..50b78a3a1dc --- /dev/null +++ b/Build/source/libs/icu/icu-xetex/i18n/csmatch.h @@ -0,0 +1,44 @@ +/* + ********************************************************************** + * Copyright (C) 2005-2006, International Business Machines + * Corporation and others. All Rights Reserved. + ********************************************************************** + */ + +#ifndef __CSMATCH_H +#define __CSMATCH_H + +#include "unicode/uobject.h" + +#if !UCONFIG_NO_CONVERSION + +U_NAMESPACE_BEGIN + +class InputText; +class CharsetRecognizer; + +class CharsetMatch : public UMemory +{ + private: + CharsetRecognizer *csr; + InputText *textIn; + int32_t confidence; + + public: + CharsetMatch(); + + void set(InputText *input, CharsetRecognizer *cr, int32_t conf); + + const char *getName()const; + + const char *getLanguage()const; + + int32_t getConfidence()const; + + int32_t getUChars(UChar *buf, int32_t cap, UErrorCode *status) const; +}; + +U_NAMESPACE_END + +#endif +#endif /* __CSMATCH_H */ |