/***************************************************************************
                            qt_QTextStream.h -  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.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QTEXTSTREAM
#define QT_QTEXTSTREAM

#include <stdio.h>
#include <qtc/qtc_types.h>

#define QTEXTSTREAM_Locale	0
#define QTEXTSTREAM_Latin1	1
#define QTEXTSTREAM_Unicode	2
#define QTEXTSTREAM_UnicodeNetworkOrder	3
#define QTEXTSTREAM_UnicodeReverse	4
#define QTEXTSTREAM_RawUnicode	5
#define QTEXTSTREAM_UnicodeUTF8	6
#define QTEXTSTREAM_skipws	0x0001
#define QTEXTSTREAM_left	0x0002
#define QTEXTSTREAM_right	0x0004
#define QTEXTSTREAM_internal	0x0008
#define QTEXTSTREAM_bin	0x0010
#define QTEXTSTREAM_oct	0x0020
#define QTEXTSTREAM_dec	0x0040
#define QTEXTSTREAM_hex	0x0080
#define QTEXTSTREAM_showbase	0x0100
#define QTEXTSTREAM_showpoint	0x0200
#define QTEXTSTREAM_uppercase	0x0400
#define QTEXTSTREAM_showpos	0x0800
#define QTEXTSTREAM_scientific	0x1000
#define QTEXTSTREAM_fixed	0x2000
void qt_QTextStream_setEncoding(qt_QTextStream* instPointer,int arg1);
void qt_QTextStream_setCodec(qt_QTextStream* instPointer,qt_QTextCodec* arg1);
qt_QTextStream * qt_new_QTextStream();
qt_QTextStream * qt_new_QTextStream1(qt_QIODevice * arg1);
qt_QTextStream * qt_new_QTextStream2(qt_QString* arg1, int mode);
qt_QTextStream * qt_new_QTextStream3(qt_QString * arg1, int mode);
qt_QTextStream * qt_new_QTextStream4(qt_QByteArray* arg1, int mode);
qt_QTextStream * qt_new_QTextStream5(FILE* arg1, int mode);
void qt_del_QTextStream( qt_QTextStream* p );
qt_QIODevice * qt_QTextStream_device(qt_QTextStream* instPointer);
void qt_QTextStream_setDevice(qt_QTextStream* instPointer,qt_QIODevice * arg1);
void qt_QTextStream_unsetDevice(qt_QTextStream* instPointer);
int qt_QTextStream_atEnd(qt_QTextStream* instPointer);
int qt_QTextStream_eof(qt_QTextStream* instPointer);
qt_QTextStream* qt_QTextStream_readRawBytes(qt_QTextStream* instPointer,char* arg1, unsigned int len);
qt_QTextStream* qt_QTextStream_writeRawBytes(qt_QTextStream* instPointer,char* arg1, unsigned int len);
qt_QString * qt_QTextStream_readLine(qt_QTextStream* instPointer);
qt_QString * qt_QTextStream_read(qt_QTextStream* instPointer);
void qt_QTextStream_skipWhiteSpace(qt_QTextStream* instPointer);
int qt_QTextStream_flags(qt_QTextStream* instPointer);
int qt_QTextStream_flags1(qt_QTextStream* instPointer,int f);
int qt_QTextStream_setf(qt_QTextStream* instPointer,int bits);
int qt_QTextStream_setf1(qt_QTextStream* instPointer,int bits, int mask);
int qt_QTextStream_unsetf(qt_QTextStream* instPointer,int bits);
void qt_QTextStream_reset(qt_QTextStream* instPointer);
int qt_QTextStream_width(qt_QTextStream* instPointer);
int qt_QTextStream_width1(qt_QTextStream* instPointer,int arg1);
int qt_QTextStream_fill(qt_QTextStream* instPointer);
int qt_QTextStream_fill1(qt_QTextStream* instPointer,int arg1);
int qt_QTextStream_precision(qt_QTextStream* instPointer);
int qt_QTextStream_precision1(qt_QTextStream* instPointer,int arg1);

#endif
