Imported Upstream version 58.1
[platform/upstream/icu.git] / source / test / letest / letsutil.h
1 // Copyright (C) 2016 and later: Unicode, Inc. and others.
2 // License & terms of use: http://www.unicode.org/copyright.html
3 /*
4  *******************************************************************************
5  *
6  *   Copyright (C) 1999-2014, International Business Machines
7  *   Corporation and others.  All Rights Reserved.
8  *
9  *******************************************************************************
10  *   file name:  letsutil.h
11  *
12  *   created on: 04/25/2006
13  *   created by: Eric R. Mader
14  */
15
16 #ifndef __LETSUTIL_H
17 #define __LETSUTIL_H
18
19 #include "unicode/utypes.h"
20 #include "unicode/unistr.h"
21 #include "unicode/ubidi.h"
22
23 #include "layout/LETypes.h"
24 #include "layout/LEScripts.h"
25 #include "layout/LayoutEngine.h"
26 #include "layout/LELanguages.h"
27
28 #ifndef USING_ICULEHB
29 #include "OpenTypeLayoutEngine.h"
30 #endif
31
32 #include "letest.h"
33
34 char *getCString(const UnicodeString *uString);
35 char *getCString(const LEUnicode16 *uChars);
36 char *getUTF8String(const UnicodeString *uString);
37 void freeCString(char *cString);
38 le_bool getRTL(const UnicodeString &text);
39 le_int32 getLanguageCode(const char *lang);
40
41 #endif