/***************************************************************************
                            QIODeviceInterface.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 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 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

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

package org.kde.qt;

public interface QIODeviceInterface {
	int flags();
	int mode();
	int state();
	boolean isDirectAccess();
	boolean isSequentialAccess();
	boolean isCombinedAccess();
	boolean isBuffered();
	boolean isRaw();
	boolean isSynchronous();
	boolean isAsynchronous();
	boolean isTranslated();
	boolean isReadable();
	boolean isWritable();
	boolean isReadWrite();
	boolean isInactive();
	boolean isOpen();
	int status();
	void resetStatus();
	boolean open( int mode);
	void close();
	void flush();
	int size();
	int at();
	boolean at( int arg1);
	boolean atEnd();
	boolean reset();
	long readBlock( StringBuffer data, long maxlen);
	long writeBlock( String data, long len);
	long readLine( StringBuffer data, long maxlen);
	long writeBlock( byte[] data);
	byte[] readAll();
	int getch();
	int putch( int arg1);
	int ungetch( int arg1);
}
