intl/icu/source/i18n/csrutf8.h

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

     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 */

mercurial