/*
 * Copyright (C) 2008,2009  OMRON SOFTWARE Co., Ltd.
 *
 * 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.
 */
/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni */

#ifndef _Included_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
#define _Included_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
#ifdef __cplusplus
extern "C" {
#endif
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_TOUPPER
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_TOUPPER 0L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_TOLOWER
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_TOLOWER 1L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_QWERTY_NEAR
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_QWERTY_NEAR 2L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_QWERTY_NEAR_UPPER
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_EN_QWERTY_NEAR_UPPER 3L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_JAJP_12KEY_NORMAL
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_APPROX_PATTERN_JAJP_12KEY_NORMAL 4L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_SEARCH_EXACT
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_SEARCH_EXACT 0L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_SEARCH_PREFIX
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_SEARCH_PREFIX 1L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_SEARCH_LINK
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_SEARCH_LINK 2L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_ORDER_BY_FREQUENCY
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_ORDER_BY_FREQUENCY 0L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_ORDER_BY_KEY
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_ORDER_BY_KEY 1L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_V1
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_V1 0L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_V2
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_V2 1L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_V3
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_V3 2L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_BUNTOU
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_BUNTOU 3L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_TANKANJI
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_TANKANJI 4L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_SUUJI
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_SUUJI 5L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_MEISI
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_MEISI 6L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_JINMEI
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_JINMEI 7L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_CHIMEI
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_CHIMEI 8L
#undef com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_KIGOU
#define com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_POS_TYPE_KIGOU 9L
/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    createWnnWork
 * Signature: (Ljava/lang/String;)J
 */
JNIEXPORT jlong JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_createWnnWork
  (JNIEnv *, jclass, jstring);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    freeWnnWork
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_freeWnnWork
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    clearDictionaryParameters
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_clearDictionaryParameters
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    setDictionaryParameter
 * Signature: (JIII)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_setDictionaryParameter
  (JNIEnv *, jclass, jlong, jint, jint, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    searchWord
 * Signature: (JIILjava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_searchWord
  (JNIEnv *, jclass, jlong, jint, jint, jstring);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getNextWord
 * Signature: (JI)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getNextWord
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getStroke
 * Signature: (J)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getStroke
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getCandidate
 * Signature: (J)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getCandidate
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getFrequency
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getFrequency
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getLeftPartOfSpeech
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getLeftPartOfSpeech
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getRightPartOfSpeech
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getRightPartOfSpeech
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    clearApproxPatterns
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_clearApproxPatterns
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    setApproxPattern
 * Signature: (JLjava/lang/String;Ljava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_setApproxPattern__JLjava_lang_String_2Ljava_lang_String_2
  (JNIEnv *, jclass, jlong, jstring, jstring);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    setApproxPattern
 * Signature: (JI)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_setApproxPattern__JI
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getApproxPattern
 * Signature: (JLjava/lang/String;)[Ljava/lang/String;
 */
JNIEXPORT jobjectArray JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getApproxPattern
  (JNIEnv *, jclass, jlong, jstring);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    clearResult
 * Signature: (J)V
 */
JNIEXPORT void JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_clearResult
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    setLeftPartOfSpeech
 * Signature: (JI)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_setLeftPartOfSpeech
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    setRightPartOfSpeech
 * Signature: (JI)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_setRightPartOfSpeech
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    setStroke
 * Signature: (JLjava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_setStroke
  (JNIEnv *, jclass, jlong, jstring);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    setCandidate
 * Signature: (JLjava/lang/String;)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_setCandidate
  (JNIEnv *, jclass, jlong, jstring);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    selectWord
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_selectWord
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getConnectArray
 * Signature: (JI)[B
 */
JNIEXPORT jbyteArray JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getConnectArray
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getNumberOfLeftPOS
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getNumberOfLeftPOS
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getNumberOfRightPOS
 * Signature: (J)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getNumberOfRightPOS
  (JNIEnv *, jclass, jlong);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getLeftPartOfSpeechSpecifiedType
 * Signature: (JI)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getLeftPartOfSpeechSpecifiedType
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    getRightPartOfSpeechSpecifiedType
 * Signature: (JI)I
 */
JNIEXPORT jint JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_getRightPartOfSpeechSpecifiedType
  (JNIEnv *, jclass, jlong, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    createBindArray
 * Signature: (JLjava/lang/String;II)[Ljava/lang/String;
 */
JNIEXPORT jobjectArray JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_createBindArray
  (JNIEnv *, jclass, jlong, jstring, jint, jint);

/*
 * Class:     com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni
 * Method:    createQueryStringBase
 * Signature: (JIILjava/lang/String;)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_com_hiroshica_android_input_nicownn2_OpenWnnDictionaryImplJni_createQueryStringBase
  (JNIEnv *, jclass, jlong, jint, jint, jstring);

#ifdef __cplusplus
}
#endif
#endif
