/* DO NOT EDIT THIS FILE - it is machine generated */
#include "jri.h"

/* Header for class AviObserver */

#ifndef _AviObserver_H_
#define _AviObserver_H_

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

struct java_lang_Class;

/*******************************************************************************
 * Class AviObserver
 ******************************************************************************/

typedef struct AviObserver AviObserver;

#define classname_AviObserver	"AviObserver"

#define class_AviObserver(env) \
	((struct java_lang_Class*)JRI_FindClass(env, classname_AviObserver))

/*******************************************************************************
 * Public Methods
 ******************************************************************************/

#ifdef DEBUG

/*** public onStop ()V ***/
extern JRI_PUBLIC_API(void)
AviObserver_onStop(JRIEnv* env, struct AviObserver* self);

/*** public onPositionChange (I)V ***/
extern JRI_PUBLIC_API(void)
AviObserver_onPositionChange(JRIEnv* env, struct AviObserver* self, jint a);

#else /* !DEBUG */

/*** public onStop ()V ***/
#define AviObserver_onStop(env, obj) \
	((void)JRI_CallMethod(env)(env, JRI_CallMethod_op, obj, methodID_AviObserver_onStop))

/*** public onPositionChange (I)V ***/
#define AviObserver_onPositionChange(env, obj, a) \
	((void)JRI_CallMethod(env)(env, JRI_CallMethod_op, obj, methodID_AviObserver_onPositionChange, a))

#endif /* !DEBUG*/

/*** public onStop ()V ***/
extern JRI_PUBLIC_VAR(JRIMethodID) FAR methodID_AviObserver_onStop;
#define methodname_AviObserver_onStop	"onStop"
#define methodsig_AviObserver_onStop 	"()V"
#define usemethod_AviObserver_onStop(env, clazz)	\
	(methodID_AviObserver_onStop =	\
		JRI_GetMethodID(env, clazz,	\
			methodname_AviObserver_onStop,	\
			methodsig_AviObserver_onStop))
#define unusemethod_AviObserver_onStop(env, clazz)	\
	(methodID_AviObserver_onStop = JRIUninitialized)

/*** public onPositionChange (I)V ***/
extern JRI_PUBLIC_VAR(JRIMethodID) FAR methodID_AviObserver_onPositionChange;
#define methodname_AviObserver_onPositionChange	"onPositionChange"
#define methodsig_AviObserver_onPositionChange 	"(I)V"
#define usemethod_AviObserver_onPositionChange(env, clazz)	\
	(methodID_AviObserver_onPositionChange =	\
		JRI_GetMethodID(env, clazz,	\
			methodname_AviObserver_onPositionChange,	\
			methodsig_AviObserver_onPositionChange))
#define unusemethod_AviObserver_onPositionChange(env, clazz)	\
	(methodID_AviObserver_onPositionChange = JRIUninitialized)

/*******************************************************************************
 * IMPLEMENTATION SECTION: 
 * Define the IMPLEMENT_AviObserver symbol 
 * if you intend to implement the native methods of this class. This 
 * symbol makes the private and protected methods available. You should 
 * also call the register_AviObserver routine 
 * to make your native methods available.
 ******************************************************************************/

extern JRI_PUBLIC_API(struct java_lang_Class*)
use_AviObserver(JRIEnv* env);

extern JRI_PUBLIC_API(void)
unuse_AviObserver(JRIEnv* env);

extern JRI_PUBLIC_API(struct java_lang_Class*)
register_AviObserver(JRIEnv* env);

extern JRI_PUBLIC_API(void)
unregister_AviObserver(JRIEnv* env);

#ifdef IMPLEMENT_AviObserver

#endif /* IMPLEMENT_AviObserver */

#ifdef __cplusplus
} /* extern "C" */
#endif /* __cplusplus */

/*******************************************************************************
 * C++ Definitions
 ******************************************************************************/

#if defined(__cplusplus) && !defined(JRI_NO_CPLUSPLUS)
#include "java_lang_Object.h"

struct AviObserver : virtual public java_lang_Object {

	static struct java_lang_Class* _use(JRIEnv* env) {
		return use_AviObserver(env);
	}

	static void _unuse(JRIEnv* env) {
		unuse_AviObserver(env);
	}

	static struct java_lang_Class* _register(JRIEnv* env) {
		return register_AviObserver(env);
	}

	static void _unregister(JRIEnv* env) {
		unregister_AviObserver(env);
	}

	static struct java_lang_Class* _class(JRIEnv* env) {
		return class_AviObserver(env);
	}

	/* Public Methods */
	/*** public onStop ()V ***/
	void onStop(JRIEnv* env) {
		AviObserver_onStop(env, this);
	}

	/*** public onPositionChange (I)V ***/
	void onPositionChange(JRIEnv* env, jint a) {
		AviObserver_onPositionChange(env, this, a);
	}

#ifdef IMPLEMENT_AviObserver

#endif /* IMPLEMENT_AviObserver */
};

#endif /* defined(__cplusplus) && !defined(JRI_NO_CPLUSPLUS) */

#endif /* Class AviObserver */
