From 07cab72ce4b82ad8cc879c2787da0f21a193e38c Mon Sep 17 00:00:00 2001 From: Ken Wakasa Date: Tue, 20 Apr 2010 01:24:57 +0900 Subject: Fix the sandbox build & get rid of ICU dependency. Changed package name from com.android.inputmethod.latin2 to com.google.android.inputmethod.latin2. Copied LatinIME's current dictionaries from master's vendor directory. Confirmed latin_tolower() function returns the result identical to ICU's u_tolower(). - Note that I will merge the ICU dependency removal change to master. Change-Id: Ia85bd3e88ce5159934684e2228d8b0c5a8885296 --- native/src/char_utils.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 native/src/char_utils.h (limited to 'native/src/char_utils.h') diff --git a/native/src/char_utils.h b/native/src/char_utils.h new file mode 100644 index 000000000..921ecb4a5 --- /dev/null +++ b/native/src/char_utils.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2010 The Android Open Source Project + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef LATINIME_CHAR_UTILS_H +#define LATINIME_CHAR_UTILS_H + +namespace latinime { + +unsigned short latin_tolower(unsigned short c); + +}; // namespace latinime + +#endif // LATINIME_CHAR_UTILS_H -- cgit v1.2.3-83-g751a