1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/intl/icu/source/i18n/csrutf8.h Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +/* 1.5 + ********************************************************************** 1.6 + * Copyright (C) 2005-2012, International Business Machines 1.7 + * Corporation and others. All Rights Reserved. 1.8 + ********************************************************************** 1.9 + */ 1.10 + 1.11 +#ifndef __CSRUTF8_H 1.12 +#define __CSRUTF8_H 1.13 + 1.14 +#include "unicode/utypes.h" 1.15 + 1.16 +#if !UCONFIG_NO_CONVERSION 1.17 + 1.18 +#include "csrecog.h" 1.19 + 1.20 +U_NAMESPACE_BEGIN 1.21 + 1.22 +/** 1.23 + * Charset recognizer for UTF-8 1.24 + * 1.25 + * @internal 1.26 + */ 1.27 +class CharsetRecog_UTF8: public CharsetRecognizer { 1.28 + 1.29 + public: 1.30 + 1.31 + virtual ~CharsetRecog_UTF8(); 1.32 + 1.33 + const char *getName() const; 1.34 + 1.35 + /* (non-Javadoc) 1.36 + * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector) 1.37 + */ 1.38 + UBool match(InputText *input, CharsetMatch *results) const; 1.39 + 1.40 +}; 1.41 + 1.42 +U_NAMESPACE_END 1.43 + 1.44 +#endif 1.45 +#endif /* __CSRUTF8_H */