Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 /*
2 **********************************************************************
3 * Copyright (C) 2005-2012, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 */
8 #ifndef __CSRUTF8_H
9 #define __CSRUTF8_H
11 #include "unicode/utypes.h"
13 #if !UCONFIG_NO_CONVERSION
15 #include "csrecog.h"
17 U_NAMESPACE_BEGIN
19 /**
20 * Charset recognizer for UTF-8
21 *
22 * @internal
23 */
24 class CharsetRecog_UTF8: public CharsetRecognizer {
26 public:
28 virtual ~CharsetRecog_UTF8();
30 const char *getName() const;
32 /* (non-Javadoc)
33 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
34 */
35 UBool match(InputText *input, CharsetMatch *results) const;
37 };
39 U_NAMESPACE_END
41 #endif
42 #endif /* __CSRUTF8_H */