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