summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QDataSink.cpp
blob: 96978f743c681c472734568532088e9f07588604 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
//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;
}