/***************************************************************************
                            qt_QTextCodec.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_QTEXTCODEC
#define QT_QTEXTCODEC

#include <qtc/qtc_types.h>

/**

* $Id: qt_QTextCodec.h,v 1.2 2001/11/21 23:26:18 rdale Exp $
*
* Definition of QTextStream class
*
* Created : 940922
*
* Copyright (C) 1992-2000 Trolltech AS.  All rights reserved.
*
* This file is part of the tools module of the Qt GUI Toolkit.
*
* This file may be distributed under the terms of the Q Public License
* as defined by Trolltech AS of Norway and appearing in the file
* LICENSE.QPL included in the packaging of this file.
*
* This file may be distributed and/or modified under the terms of the
* GNU General Public License version 2 as published by the Free Software
* Foundation and appearing in the file LICENSE.GPL included in the
* packaging of this file.
*
* Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
* licenses may use this file in accordance with the Qt Commercial License
* Agreement provided with the Software.
*
* This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
* WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
*   information about Qt Commercial License Agreements.
* See http://www.trolltech.com/qpl/ for QPL licensing information.
* See http://www.trolltech.com/gpl/ for GPL licensing information.
*
* Contact info@trolltech.com if any conditions of this licensing are
* not clear to you.
*
********************************************************************
 @short 
* $Id:  qt/qtextstream.
*/
void qt_del_QTextCodec( qt_QTextCodec* p );
char* qt_QTextCodec_name(qt_QTextCodec* instPointer);
char* qt_QTextCodec_mimeName(qt_QTextCodec* instPointer);
int qt_QTextCodec_mibEnum(qt_QTextCodec* instPointer);
qt_QTextDecoder* qt_QTextCodec_makeDecoder(qt_QTextCodec* instPointer);
qt_QTextEncoder* qt_QTextCodec_makeEncoder(qt_QTextCodec* instPointer);
qt_QString * qt_QTextCodec_toUnicode(qt_QTextCodec* instPointer,char* chars, int len);
qt_QCString* qt_QTextCodec_fromUnicode(qt_QTextCodec* instPointer,qt_QString * uc, int lenInOut);
qt_QCString* qt_QTextCodec_fromUnicode1(qt_QTextCodec* instPointer,qt_QString * uc);
qt_QString * qt_QTextCodec_toUnicode1(qt_QTextCodec* instPointer,qt_QByteArray* arg1, int len);
qt_QString * qt_QTextCodec_toUnicode2(qt_QTextCodec* instPointer,qt_QByteArray* arg1);
qt_QString * qt_QTextCodec_toUnicode3(qt_QTextCodec* instPointer,qt_QCString* arg1, int len);
qt_QString * qt_QTextCodec_toUnicode4(qt_QTextCodec* instPointer,qt_QCString* arg1);
qt_QString * qt_QTextCodec_toUnicode5(qt_QTextCodec* instPointer,char* chars);
int qt_QTextCodec_canEncode(qt_QTextCodec* instPointer,qt_QChar* arg1);
int qt_QTextCodec_canEncode1(qt_QTextCodec* instPointer,qt_QString * arg1);
int qt_QTextCodec_heuristicContentMatch(qt_QTextCodec* instPointer,char* chars, int len);
int qt_QTextCodec_heuristicNameMatch(qt_QTextCodec* instPointer,char* hint);
qt_QByteArray* qt_QTextCodec_fromUnicode2(qt_QTextCodec* instPointer,qt_QString * uc, int from, int len);
unsigned short qt_QTextCodec_characterFromUnicode(qt_QTextCodec* instPointer,qt_QString * str, int pos);
qt_QTextCodec* qt_QTextCodec_loadCharmap( qt_QIODevice * arg1);
qt_QTextCodec* qt_QTextCodec_loadCharmapFile( qt_QString * filename);
qt_QTextCodec* qt_QTextCodec_codecForMib( int mib);
qt_QTextCodec* qt_QTextCodec_codecForName( char* hint, int accuracy);
qt_QTextCodec* qt_QTextCodec_codecForContent( char* chars, int len);
qt_QTextCodec* qt_QTextCodec_codecForIndex( int i);
qt_QTextCodec* qt_QTextCodec_codecForLocale( );
void qt_QTextCodec_setCodecForLocale( qt_QTextCodec* c);
void qt_QTextCodec_deleteAllCodecs( );
char* qt_QTextCodec_locale( );

#endif
