/***************************************************************************
                            qt_QUtf8Codec.cpp -  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.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "qt_QUtf8Codec.h"
}

#include <qutfcodec.h>

int qt_QUtf8Codec_mibEnum( qt_QUtf8Codec* instPointer){
	return (int) ((QUtf8Codec*)instPointer)->mibEnum();
}
char* qt_QUtf8Codec_name( qt_QUtf8Codec* instPointer){
	return (char*) ((QUtf8Codec*)instPointer)->name();
}
qt_QTextDecoder* qt_QUtf8Codec_makeDecoder( qt_QUtf8Codec* instPointer){
	return (qt_QTextDecoder*) ((QUtf8Codec*)instPointer)->makeDecoder();
}
qt_QCString* qt_QUtf8Codec_fromUnicode( qt_QUtf8Codec* instPointer,qt_QString * uc, int len_in_out){
	return (qt_QCString*)new QCString(((QUtf8Codec*)instPointer)->fromUnicode((QString&)* (QString*)uc, (int&)len_in_out));
}
int qt_QUtf8Codec_heuristicContentMatch( qt_QUtf8Codec* instPointer,char* chars, int len){
	return (int) ((QUtf8Codec*)instPointer)->heuristicContentMatch((char*)chars, (int)len);
}
