aboutsummaryrefslogtreecommitdiffstats
path: root/native/src/char_utils.h
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2010-04-20 01:24:57 +0900
committerKen Wakasa <kwakasa@google.com>2010-04-20 17:55:53 +0900
commit07cab72ce4b82ad8cc879c2787da0f21a193e38c (patch)
tree23543a4fa05d74924d1989502c08eac7990fe8ac /native/src/char_utils.h
parent19266dc860a9ff780be4d0ec1b68e23e93980c55 (diff)
downloadlatinime-07cab72ce4b82ad8cc879c2787da0f21a193e38c.tar.gz
latinime-07cab72ce4b82ad8cc879c2787da0f21a193e38c.tar.xz
latinime-07cab72ce4b82ad8cc879c2787da0f21a193e38c.zip
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
Diffstat (limited to '')
-rw-r--r--native/src/char_utils.h26
1 files changed, 26 insertions, 0 deletions
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