xwords/xwords4/android/XWords4/jni/anddict.h
eehouse bd611bb6f4 implement dictChanged. And so that utf8 dicts could be opened without
their games being drawn (no BoardActivity around) break the two
android-only callbacks out of UtilCtxt and into a new JNIUtils
interface that then requires new handing in C.
2010-02-11 13:27:09 +00:00

21 lines
489 B
C

#ifndef _ANDDICT_H_
#define _ANDDICT_H_
#include "dictnry.h"
#include "comtypes.h"
#include "jniutlswrapper.h"
void
dict_splitFaces( DictionaryCtxt* dict, const XP_U8* bytes,
XP_U16 nBytes, XP_U16 nFaces );
DictionaryCtxt* makeDict( MPFORMAL JNIEnv *env, JNIUtilCtxt* jniutil,
jbyteArray bytes );
DictionaryCtxt* and_dictionary_make_empty( MPFORMAL_NOCOMMA );
jobject and_dictionary_getChars( JNIEnv* env, DictionaryCtxt* dict );
#endif