]> git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/csrutf8.h
ICU-62141.0.1.tar.gz
[apple/icu.git] / icuSources / i18n / csrutf8.h
1 // © 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4 **********************************************************************
5 * Copyright (C) 2005-2012, International Business Machines
6 * Corporation and others. All Rights Reserved.
7 **********************************************************************
8 */
9
10 #ifndef __CSRUTF8_H
11 #define __CSRUTF8_H
12
13 #include "unicode/utypes.h"
14
15 #if !UCONFIG_NO_CONVERSION
16
17 #include "csrecog.h"
18
19 U_NAMESPACE_BEGIN
20
21 /**
22 * Charset recognizer for UTF-8
23 *
24 * @internal
25 */
26 class CharsetRecog_UTF8: public CharsetRecognizer {
27
28 public:
29
30 virtual ~CharsetRecog_UTF8();
31
32 const char *getName() const;
33
34 /* (non-Javadoc)
35 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
36 */
37 UBool match(InputText *input, CharsetMatch *results) const;
38
39 };
40
41 U_NAMESPACE_END
42
43 #endif
44 #endif /* __CSRUTF8_H */