]>
git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/csmatch.h
2 **********************************************************************
3 * Copyright (C) 2005-2006, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
11 #include "unicode/uobject.h"
13 #if !UCONFIG_NO_CONVERSION
18 class CharsetRecognizer
;
20 class CharsetMatch
: public UMemory
23 CharsetRecognizer
*csr
;
30 void set(InputText
*input
, CharsetRecognizer
*cr
, int32_t conf
);
32 const char *getName()const;
34 const char *getLanguage()const;
36 int32_t getConfidence()const;
38 int32_t getUChars(UChar
*buf
, int32_t cap
, UErrorCode
*status
) const;
44 #endif /* __CSMATCH_H */