//Auto-generated by kalyptus. DO NOT EDIT.
#include <tdeprocctrl.h>

#include <qtjava/QtSupport.h>
#include <tdejava/TDESupport.h>
#include <tdejava/TDEProcessController.h>

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_addTDEProcess(JNIEnv* env, jobject obj, jobject arg1)
{
	((TDEProcessController*) QtSupport::getQt(env, obj))->addTDEProcess((TDEProcess*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_addProcess(JNIEnv* env, jobject obj, jint pid)
{
	((TDEProcessController*) QtSupport::getQt(env, obj))->addProcess((int) pid);
	return;
}

JNIEXPORT jstring JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_className(JNIEnv* env, jobject obj)
{
	const char* _qstring;
	_qstring = ((TDEProcessController*) QtSupport::getQt(env, obj))->className();
	return QtSupport::fromCharString(env, (char *) _qstring);
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_deref(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	TDEProcessController::deref();
	return;
}

JNIEXPORT jobject JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_metaObject(JNIEnv* env, jobject obj)
{
	jobject xret = QtSupport::objectForQtKey(env, (void*)((TDEProcessController*) QtSupport::getQt(env, obj))->metaObject(), "org.trinitydesktop.qt.TQMetaObject");
	return xret;
}

JNIEXPORT jint JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_notifierFd(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TDEProcessController*) QtSupport::getQt(env, obj))->notifierFd();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_ref(JNIEnv* env, jclass cls)
{
	(void) cls;
	(void) env;
	TDEProcessController::ref();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_removeTDEProcess(JNIEnv* env, jobject obj, jobject arg1)
{
	((TDEProcessController*) QtSupport::getQt(env, obj))->removeTDEProcess((TDEProcess*) QtSupport::getQt(env, arg1));
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_rescheduleCheck(JNIEnv* env, jobject obj)
{
	((TDEProcessController*) QtSupport::getQt(env, obj))->rescheduleCheck();
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_theSigCHLDHandler(JNIEnv* env, jclass cls, jint signal)
{
	(void) cls;
	(void) env;
	TDEProcessController::theSigCHLDHandler((int) signal);
	return;
}

JNIEXPORT void JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_unscheduleCheck(JNIEnv* env, jobject obj)
{
	((TDEProcessController*) QtSupport::getQt(env, obj))->unscheduleCheck();
	return;
}

JNIEXPORT jboolean JNICALL
Java_org_trinitydesktop_koala_TDEProcessController_waitForProcessExit(JNIEnv* env, jobject obj, jint timeout)
{
	jboolean xret = (jboolean) ((TDEProcessController*) QtSupport::getQt(env, obj))->waitForProcessExit((int) timeout);
	return xret;
}

