/* DO NOT EDIT THIS FILE - it is machine generated */
//#include <jni.h>
#include "jni.h" // include latest version header directly from Sun Java
/* Header for class wsq_sun_java_WSQ_library */



#ifndef _Included_wsq_sun_java_WSQ_library
#define _Included_wsq_sun_java_WSQ_library
#ifdef __cplusplus
extern "C" {
#endif


/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    GenerateWSQLibrarySerialNumber
 * Signature: ()V
 */
JNIEXPORT jstring JNICALL Java_wsq_1sun_1java_WSQ_1library_GenerateWSQLibrarySerialNumber
(JNIEnv *env, jclass);


/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    UnlockWSQLibrary
 * Signature: ()V
 */
JNIEXPORT jint JNICALL Java_wsq_1sun_1java_WSQ_1library_UnlockWSQLibrary
(JNIEnv * env, jclass,  jstring authorization_code);


/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    RegisterWSQ
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_RegisterWSQ
  (JNIEnv *, jclass);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    ShowFileConverter
 * Signature: ()V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_ShowFileConverter
  (JNIEnv *, jclass);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    CreateBMPFromFile
 * Signature: ([ILjava/lang/String;)[I
 */
JNIEXPORT jintArray JNICALL Java_wsq_1sun_1java_WSQ_1library_CreateBMPFromFile
  (JNIEnv *, jclass, jintArray, jstring);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    SaveBMPToFile
 * Signature: ([IIILjava/lang/String;I)V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_SaveBMPToFile
  (JNIEnv *, jclass, jintArray, jint, jint, jstring, jint);


/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    CreateBMPFromWSQByteArray
 * Signature: ([ILjava/lang/String;)[I
 */
JNIEXPORT jintArray JNICALL Java_wsq_1sun_1java_WSQ_1library_CreateBMPFromWSQByteArray
  (JNIEnv *env, jclass, jintArray imageDimension, jbyteArray input);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    SaveWSQByteArrayToImageFile
 * Signature: ([IIILjava/lang/String;I)V
 */
JNIEXPORT jint JNICALL Java_wsq_1sun_1java_WSQ_1library_SaveWSQByteArrayToImageFile
  (JNIEnv *env, jclass, jbyteArray input, jstring filename, jint filetype);





/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    WriteWSQ_bitrate
 * Signature: (D)V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_WriteWSQ_1bitrate
  (JNIEnv *, jclass, jdouble);


/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    ReadWSQ_bitrate
 * Signature: (D)V
 */
JNIEXPORT jdouble JNICALL Java_wsq_1sun_1java_WSQ_1library_ReadWSQ_1bitrate
   (JNIEnv* env, jclass);  

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    WriteWSQ_ppi
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_WriteWSQ_1ppi
  (JNIEnv *, jclass, jint);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    ReadWSQ_ppi
 * Signature: ()I
 */
JNIEXPORT jint JNICALL Java_wsq_1sun_1java_WSQ_1library_ReadWSQ_1ppi
  (JNIEnv *, jclass);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    WriteWSQ_comment
 * Signature: (Ljava/lang/String;)V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_WriteWSQ_1comment
  (JNIEnv *, jclass, jstring);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    ReadWSQ_comment
 * Signature: ()Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_wsq_1sun_1java_WSQ_1library_ReadWSQ_1comment
  (JNIEnv *, jclass);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    WriteTIFFcompression
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_WriteTIFFcompression
  (JNIEnv *, jclass, jint);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    WriteTIFFpredictor
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_WriteTIFFpredictor
  (JNIEnv *, jclass, jint);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    SetShowFilePropertiesDialog
 * Signature: (I)V
 */
JNIEXPORT void JNICALL Java_wsq_1sun_1java_WSQ_1library_SetShowFilePropertiesDialog
  (JNIEnv *, jclass, jint);


/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    WSQ_decode_stream
 * Signature: (I)V
 */
JNIEXPORT jbyteArray JNICALL Java_wsq_1sun_1java_WSQ_1library_WSQ_1decode_1stream
(JNIEnv *env, jclass, jbyteArray input, jintArray imageProperties);


/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    WSQ_encode_stream
 * Signature: (I)V
 */
JNIEXPORT jbyteArray JNICALL Java_wsq_1sun_1java_WSQ_1library_WSQ_1encode_1stream
(JNIEnv *env, jclass, jbyteArray input, jint width, jint height, jdouble bitrate, jint ppi, jstring comment_text);



/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    ConvertHBITMAPtoGrayScale256
 * Signature: ([ILjava/lang/String;)[I
 */
JNIEXPORT jintArray JNICALL Java_wsq_1sun_1java_WSQ_1library_ConvertHBITMAPtoGrayScale256
  (JNIEnv *env, jclass, jintArray imageDimension, jintArray, jint, jint);

/*
 * Class:     wsq_sun_java_WSQ_library
 * Method:    SaveHBITMAPtoFileAsGrayScale256BMP
 * Signature: ([IIILjava/lang/String;I)V
 */
JNIEXPORT jint JNICALL Java_wsq_1sun_1java_WSQ_1library_SaveHBITMAPtoFileAsGrayScale256BMP
  (JNIEnv *env, jclass, jintArray, jint, jint, jstring);
  



#ifdef __cplusplus
}
#endif
#endif
