summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/qtjava/QDataSink.cpp
blob: 47d543000634f2480150f15ad473cb2c9ddc979c (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 <tqasyncio.h>

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

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

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

JNIEXPORT jint JNICALL
Java_org_kde_qt_QDataSink_readyToReceive(JNIEnv* env, jobject obj)
{
	jint xret = (jint) ((TTQDataSink*) 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 TTQByteArray* _qbytearray_arg1 = 0;
	((TTQDataSink*) QtSupport::getQt(env, obj))->receive((const uchar*) QtSupport::toUcharArray(env, arg1, &_qbytearray_arg1), (int) count);
	return;
}