/***************************************************************************
                            qt_QEucJpCodec.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_QEucJpCodec.h"
}

#include <qeucjpcodec.h>

class QEucJpCodecBridge : public QEucJpCodec
{
public:
	QEucJpCodecBridge() : QEucJpCodec() {}
	~QEucJpCodecBridge() {}
};

int qt_QEucJpCodec_mibEnum( qt_QEucJpCodec* instPointer){
	return (int) ((QEucJpCodecBridge*)instPointer)->mibEnum();
}
char* qt_QEucJpCodec_name( qt_QEucJpCodec* instPointer){
	return (char*) ((QEucJpCodecBridge*)instPointer)->name();
}
char* qt_QEucJpCodec_mimeName( qt_QEucJpCodec* instPointer){
	return (char*) ((QEucJpCodecBridge*)instPointer)->mimeName();
}
qt_QTextDecoder* qt_QEucJpCodec_makeDecoder( qt_QEucJpCodec* instPointer){
	return (qt_QTextDecoder*) ((QEucJpCodecBridge*)instPointer)->makeDecoder();
}
qt_QCString* qt_QEucJpCodec_fromUnicode( qt_QEucJpCodec* instPointer,qt_QString * uc, int len_in_out){
	return (qt_QCString*)new QCString(((QEucJpCodecBridge*)instPointer)->fromUnicode((QString&)* (QString*)uc, (int&)len_in_out));
}
qt_QString * qt_QEucJpCodec_toUnicode( qt_QEucJpCodec* instPointer,char* chars, int len){
	return (qt_QString *)new QString(((QEucJpCodecBridge*)instPointer)->toUnicode((char*)chars, (int)len));
}
int qt_QEucJpCodec_heuristicContentMatch( qt_QEucJpCodec* instPointer,char* chars, int len){
	return (int) ((QEucJpCodecBridge*)instPointer)->heuristicContentMatch((char*)chars, (int)len);
}
int qt_QEucJpCodec_heuristicNameMatch( qt_QEucJpCodec* instPointer,char* hint){
	return (int) ((QEucJpCodecBridge*)instPointer)->heuristicNameMatch((char*)hint);
}
qt_QEucJpCodec * qt_new_QEucJpCodec(){
	return (qt_QEucJpCodec *) new QEucJpCodecBridge();
}
void qt_del_QEucJpCodec( qt_QEucJpCodec* p ){
	delete (QEucJpCodecBridge*) p;
}
