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