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

#include <qtjava/QtSupport.h>
#include <qtjava/QDataSink.h>

JNIEXPORT void JNICALL
Java_org_kde_qt_QDataSink_eof(JNIEnv* env, jobject obj)
{
	((QDataSink*) QtSupport::getQt(env, obj))->eof();
	return;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDataSink_maybeReady(JNIEnv* env, jobject obj)
{
	((QDataSink*) QtSupport::getQt(env, obj))->maybeReady();
	return;
}

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDataSink_readyToReceive(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((QDataSink*) QtSupport::getQt(env, obj))->readyToReceive();
	return xret;
}

JNIEXPORT void JNICALL
Java_org_kde_qt_QDataSink_receive(JNIEnv* env, jobject obj, jcharArray arg1, jint count)
{
static QByteArray* _qbytearray_arg1 = 0;
	((QDataSink*) QtSupport::getQt(env, obj))->receive((const uchar*) QtSupport::toUcharArray(env, arg1, &_qbytearray_arg1), (int) count);
	return;
}

