Header cleanup

Change-Id: Idaf19de3dc75367d49bc01e84e5a9f057c1f8dba
This commit is contained in:
Ken Wakasa 2012-08-01 18:03:55 +09:00
parent 195605084e
commit 74fb957e49
4 changed files with 6 additions and 15 deletions

View File

@ -21,11 +21,6 @@
#include "jni_common.h"
#include "proximity_info.h"
#include <cassert>
#include <cerrno>
#include <cstdio>
#include <cstring>
namespace latinime {
static jlong latinime_Keyboard_setProximityInfo(JNIEnv *env, jobject object,

View File

@ -17,30 +17,24 @@
#define LOG_TAG "LatinIME: jni: BinaryDictionary"
#include "binary_format.h"
#include "correction.h"
#include "com_android_inputmethod_latin_BinaryDictionary.h"
#include "correction.h"
#include "defines.h"
#include "dictionary.h"
#include "jni.h"
#include "jni_common.h"
#include "proximity_info.h"
#include <cassert>
#include <cerrno>
#include <cstdio>
#ifdef USE_MMAP_FOR_DICTIONARY
#include <sys/mman.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#else // USE_MMAP_FOR_DICTIONARY
#include <cstdlib>
#endif // USE_MMAP_FOR_DICTIONARY
namespace latinime {
class ProximityInfo;
void releaseDictBuf(void *dictBuf, const size_t length, int fd);
static jlong latinime_BinaryDictionary_open(JNIEnv *env, jobject object,

View File

@ -21,6 +21,7 @@
#include "com_android_inputmethod_latin_NativeUtils.h"
#include "defines.h"
#include "jni.h"
#include "jni_common.h"
#include "proximity_info.h"
#include <cassert>

View File

@ -25,11 +25,12 @@
#include "correction.h"
#include "defines.h"
#include "dictionary.h"
#include "proximity_info.h"
#include "proximity_info_state.h"
namespace latinime {
class ProximityInfo;
/////////////////////////////
// edit distance funcitons //
/////////////////////////////