/***************************************************************************
                            QDataSource.m -  description
                             -------------------
    begin                : Wed Nov 21 12:08:37 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 12:08:37 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.                       *
 *                                                                         *
 ***************************************************************************/

#include <qtc/qt_QString.h>
#include <qtc/qt_QCString.h>
#include <qtc/qt_QDataSource.h>
#include <qtobjc/QDataSource.h>
#include <qtobjc/QDataSink.h>


@implementation  QDataSource


- (int) readyToSend
{
	return (int) qt_QDataSource_readyToSend((qt_QDataSource *)[self qt]);
}

- sendTo: (QDataSink*)arg1 count: (int)count
{
	qt_QDataSource_sendTo((qt_QDataSource *)[self qt], (qt_QDataSink*) [arg1 qt], (int)count);
	return self;
}

- maybeReady
{
	qt_QDataSource_maybeReady((qt_QDataSource *)[self qt]);
	return self;
}

- (BOOL) rewindable
{
	return (BOOL) qt_QDataSource_rewindable((qt_QDataSource *)[self qt]);
}

- enableRewind: (BOOL)arg1
{
	qt_QDataSource_enableRewind((qt_QDataSource *)[self qt], (int)arg1);
	return self;
}

- rewind
{
	qt_QDataSource_rewind((qt_QDataSource *)[self qt]);
	return self;
}

@end
