/***************************************************************************
                            qt_QFile.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_QFILE
#define QT_QFILE

#include <stdio.h>

#include <qtc/qtc_types.h>

qt_QFile * qt_new_QFile();
qt_QFile * qt_new_QFile1(qt_QString * name);
void qt_del_QFile( qt_QFile* p );
qt_QString * qt_QFile_name(qt_QFile* instPointer);
void qt_QFile_setName(qt_QFile* instPointer,qt_QString * name);
//typedef qt_QFile_QCString(qt_QFile* instPointer,* EncoderFn)( QString fileName);
//typedef qt_QFile_QString(qt_QFile* instPointer,* DecoderFn)( QCString localfileName);
int qt_QFile_exists(qt_QFile* instPointer);
int qt_QFile_remove(qt_QFile* instPointer);
int qt_QFile_open(qt_QFile* instPointer,int arg1);
int qt_QFile_open1(qt_QFile* instPointer,int arg1, FILE* arg2);
int qt_QFile_open2(qt_QFile* instPointer,int arg1, int arg2);
void qt_QFile_close(qt_QFile* instPointer);
void qt_QFile_flush(qt_QFile* instPointer);
int qt_QFile_size(qt_QFile* instPointer);
int qt_QFile_at(qt_QFile* instPointer);
int qt_QFile_at1(qt_QFile* instPointer,int arg1);
int qt_QFile_atEnd(qt_QFile* instPointer);
long qt_QFile_readBlock(qt_QFile* instPointer,char* data, long len);
long qt_QFile_writeBlock(qt_QFile* instPointer,char* data, long len);
long qt_QFile_writeBlock1(qt_QFile* instPointer,qt_QByteArray* data);
long qt_QFile_readLine(qt_QFile* instPointer,char* data, long maxlen);
long qt_QFile_readLine1(qt_QFile* instPointer,qt_QString * arg1, long maxlen);
int qt_QFile_getch(qt_QFile* instPointer);
int qt_QFile_putch(qt_QFile* instPointer,int arg1);
int qt_QFile_ungetch(qt_QFile* instPointer,int arg1);
int qt_QFile_handle(qt_QFile* instPointer);
qt_QCString* qt_QFile_encodeName( qt_QString * fileName);
qt_QString * qt_QFile_decodeName( qt_QCString* localFileName);
//void qt_QFile_setEncodingFunction( int arg1);
//void qt_QFile_setDecodingFunction( int arg1);
int qt_QFile_exists1( qt_QString * fileName);
int qt_QFile_remove1( qt_QString * fileName);

#endif
