/***************************************************************************
                            qt_QDataSource.cpp -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "qt_QDataSource.h"
}

#include <qasyncio.h>

int qt_QDataSource_readyToSend( qt_QDataSource* instPointer){
	return (int) ((QDataSource*)instPointer)->readyToSend();
}
void qt_QDataSource_sendTo( qt_QDataSource* instPointer,qt_QDataSink* arg1, int count){
	((QDataSource*)instPointer)->sendTo((QDataSink*)arg1, (int)count);
	return;
}
void qt_QDataSource_maybeReady( qt_QDataSource* instPointer){
	((QDataSource*)instPointer)->maybeReady();
	return;
}
int qt_QDataSource_rewindable( qt_QDataSource* instPointer){
	return (int) ((QDataSource*)instPointer)->rewindable();
}
void qt_QDataSource_enableRewind( qt_QDataSource* instPointer,int arg1){
	((QDataSource*)instPointer)->enableRewind((bool)arg1);
	return;
}
void qt_QDataSource_rewind( qt_QDataSource* instPointer){
	((QDataSource*)instPointer)->rewind();
	return;
}
