/**
 * Copyright (C) 2009 Samsung Electronics Co., Ltd. All rights reserved.
 *
 * Mobile Communication Division,
 * Digital Media & Communications Business, Samsung Electronics Co., Ltd.
 *
 * This software and its documentation are confidential and proprietary
 * information of Samsung Electronics Co., Ltd.  No part of the software and
 * documents may be copied, reproduced, transmitted, translated, or reduced to
 * any electronic medium or machine-readable form without the prior written
 * consent of Samsung Electronics.
 *
 * Samsung Electronics makes no representations with respect to the contents,
 * and assumes no responsibility for any errors that might appear in the
 * software and documents. This publication and the contents hereof are subject
 * to change without notice.
 */

#ifndef ET9HWR_UTIL_H
#define ET9HWR_UTIL_H

#include "com_xt9_Xt9core.h"
#include "et9api.h"

#ifdef ET9_HANDWRITING_MODULE
/*----------------------------------------------------------------------------
 *  Callback Functions
 *----------------------------------------------------------------------------*/
ET9STATUS ET9FARCALL ET9AWHandle_HWR_Request(ET9AWHwrInfo      *pHwrInfo,
                                             ET9AW_HWR_Request *pHWRRequest);

/*----------------------------------------------------------------------------
 *  Get Functions
 *----------------------------------------------------------------------------*/
ET9STATUS ET9FARCALL ET9AWHwr_GetART_HWRData        (JNIEnv *env, jclass jcls, ART_HWRData         *art_hwrdate,   jobject jobj);
ET9STATUS ET9FARCALL ET9AWHwr_GetART_WritingAreaInfo(JNIEnv *env, jclass jcls, ART_WritingAreaInfo *wai,           jobject jobj);
ET9STATUS ET9FARCALL ET9AWHwr_GetHwrNBestSym        (JNIEnv *env, jclass jcls, ET9AWHwrNBestSym    *sRecogSyms,    jobject jobj);
ET9STATUS ET9FARCALL ET9AWHwr_GetHwrPrivate         (JNIEnv *env, jclass jcls, ET9AWHwrPrivate     *Private,       jobject jobj);
ET9STATUS ET9FARCALL ET9AWHwr_GetHwrInfo            (JNIEnv *env, jclass jcls, ET9AWHwrInfo        *pHwrInfo,      jobject jobj);

/*----------------------------------------------------------------------------
 *  Set Functions
 *----------------------------------------------------------------------------*/
ET9STATUS ET9FARCALL ET9AWHwr_SetART_HWRData        (JNIEnv *env, jclass jcls, jobject *jobj, ART_HWRData         art_hwrdate);
ET9STATUS ET9FARCALL ET9AWHwr_SetART_WritingAreaInfo(JNIEnv *env, jclass jcls, jobject *jobj, ART_WritingAreaInfo wai);
ET9STATUS ET9FARCALL ET9AWHwr_SetHwrNBestSym        (JNIEnv *env, jclass jcls, jobject *jobj, ET9AWHwrNBestSym    sRecogSyms);
ET9STATUS ET9FARCALL ET9AWHwr_SetHwrPrivate         (JNIEnv *env, jclass jcls, jobject *jobj, ET9AWHwrPrivate     Private);
ET9STATUS ET9FARCALL ET9AWHwr_SetHwrInfo            (JNIEnv *env, jclass jcls, jobject *jobj, ET9AWHwrInfo        pHwrInfo);

#endif // ET9_HANDWRITING_MODULE
#endif // ET9HWR_UTIL_H
