1 /* 2 ******************************************************************************* 3 * 4 * Copyright (C) 1999-2008, 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 #include "OpenTypeLayoutEngine.h" 27 28 #include "letest.h" 29 30 char *getCString(const UnicodeString *uString); 31 char *getCString(const LEUnicode16 *uChars); 32 char *getUTF8String(const UnicodeString *uString); 33 void freeCString(char *cString); 34 le_bool getRTL(const UnicodeString &text); 35 le_int32 getLanguageCode(const char *lang); 36 37 #endif 38