1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__
6 #define ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__
36 ULScript_Canadian_Aboriginal,
62 ULScript_Syloti_Nagri,
87 static const UnicodeLScript UNKNOWN_LSCRIPT = ULScript_Common;
90 // Return the name corresponding to the script ls, e.g. "Latin".
91 // It is a fatal error if ls is not a valid UnicodeLScript.
92 const char* UnicodeLScriptName(const UnicodeLScript ls);
95 // Return the 4-letter code corresponding to the script ls, e.g. "Latn".
96 // It is a fatal error if ls is not a valid UnicodeLScript.
97 const char* UnicodeLScriptCode(const UnicodeLScript ls);
99 #endif // ENCODINGS_COMPACT_LANG_DET_LETTERSCRIPT_ENUM_H__