chromium/third_party/icu/source/i18n/csrucode.h

// © 2016 and later: Unicode, Inc. and others.
// License & terms of use: http://www.unicode.org/copyright.html
/*
 **********************************************************************
 *   Copyright (C) 2005-2012, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 */

#ifndef __CSRUCODE_H
#define __CSRUCODE_H

#include "unicode/utypes.h"

#if !UCONFIG_NO_CONVERSION

#include "csrecog.h"

U_NAMESPACE_BEGIN

/**
 * This class matches UTF-16 and UTF-32, both big- and little-endian. The
 * BOM will be used if it is present.
 * 
 * @internal
 */
class CharsetRecog_Unicode : public CharsetRecognizer 
{};


class CharsetRecog_UTF_16_BE : public CharsetRecog_Unicode
{};

class CharsetRecog_UTF_16_LE : public CharsetRecog_Unicode
{};

class CharsetRecog_UTF_32 : public CharsetRecog_Unicode
{};


class CharsetRecog_UTF_32_BE : public CharsetRecog_UTF_32
{};


class CharsetRecog_UTF_32_LE : public CharsetRecog_UTF_32
{};

U_NAMESPACE_END

#endif
#endif /* __CSRUCODE_H */