michael@0: /* michael@0: ********************************************************************** michael@0: * Copyright (C) 2005-2012, International Business Machines michael@0: * Corporation and others. All Rights Reserved. michael@0: ********************************************************************** michael@0: */ michael@0: michael@0: #ifndef __CSRUTF8_H michael@0: #define __CSRUTF8_H michael@0: michael@0: #include "unicode/utypes.h" michael@0: michael@0: #if !UCONFIG_NO_CONVERSION michael@0: michael@0: #include "csrecog.h" michael@0: michael@0: U_NAMESPACE_BEGIN michael@0: michael@0: /** michael@0: * Charset recognizer for UTF-8 michael@0: * michael@0: * @internal michael@0: */ michael@0: class CharsetRecog_UTF8: public CharsetRecognizer { michael@0: michael@0: public: michael@0: michael@0: virtual ~CharsetRecog_UTF8(); michael@0: michael@0: const char *getName() const; michael@0: michael@0: /* (non-Javadoc) michael@0: * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector) michael@0: */ michael@0: UBool match(InputText *input, CharsetMatch *results) const; michael@0: michael@0: }; michael@0: michael@0: U_NAMESPACE_END michael@0: michael@0: #endif michael@0: #endif /* __CSRUTF8_H */