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