/***************************************************************************
                            kde_KCodecs.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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 "kde_KCodecs.h"
}

#include <kmdcodec.h>

qt_QCString* kde_KCodecs_quotedPrintableEncode( qt_QByteArray* in, int useCRLF){
	return (qt_QCString*)new QCString(KCodecs::quotedPrintableEncode((QByteArray&)* (QByteArray*)in, (bool)useCRLF));
}
qt_QCString* kde_KCodecs_quotedPrintableEncode1( qt_QCString* str, int useCRLF){
	return (qt_QCString*)new QCString(KCodecs::quotedPrintableEncode((QCString&)* (QCString*)str, (bool)useCRLF));
}
void kde_KCodecs_quotedPrintableEncode2( qt_QByteArray* in, qt_QByteArray* out, int useCRLF){
	KCodecs::quotedPrintableEncode((QByteArray&)* (QByteArray*)in, (QByteArray&)* (QByteArray*)out, (bool)useCRLF);
	return;
}
qt_QCString* kde_KCodecs_quotedPrintableDecode( qt_QByteArray* in){
	return (qt_QCString*)new QCString(KCodecs::quotedPrintableDecode((QByteArray&)* (QByteArray*)in));
}
qt_QCString* kde_KCodecs_quotedPrintableDecode1( qt_QCString* str){
	return (qt_QCString*)new QCString(KCodecs::quotedPrintableDecode((QCString&)* (QCString*)str));
}
void kde_KCodecs_quotedPrintableDecode2( qt_QByteArray* in, qt_QByteArray* out){
	KCodecs::quotedPrintableDecode((QByteArray&)* (QByteArray*)in, (QByteArray&)* (QByteArray*)out);
	return;
}
qt_QCString* kde_KCodecs_uuencode( qt_QByteArray* in){
	return (qt_QCString*)new QCString(KCodecs::uuencode((QByteArray&)* (QByteArray*)in));
}
qt_QCString* kde_KCodecs_uuencode1( qt_QCString* str){
	return (qt_QCString*)new QCString(KCodecs::uuencode((QCString&)* (QCString*)str));
}
void kde_KCodecs_uuencode2( qt_QByteArray* in, qt_QByteArray* out){
	KCodecs::uuencode((QByteArray&)* (QByteArray*)in, (QByteArray&)* (QByteArray*)out);
	return;
}
qt_QCString* kde_KCodecs_uudecode( qt_QByteArray* in){
	return (qt_QCString*)new QCString(KCodecs::uudecode((QByteArray&)* (QByteArray*)in));
}
qt_QCString* kde_KCodecs_uudecode1( qt_QCString* str){
	return (qt_QCString*)new QCString(KCodecs::uudecode((QCString&)* (QCString*)str));
}
void kde_KCodecs_uudecode2( qt_QByteArray* in, qt_QByteArray* out){
	KCodecs::uudecode((QByteArray&)* (QByteArray*)in, (QByteArray&)* (QByteArray*)out);
	return;
}
qt_QCString* kde_KCodecs_base64Encode( qt_QByteArray* in, int insertLFs){
	return (qt_QCString*)new QCString(KCodecs::base64Encode((QByteArray&)* (QByteArray*)in, (bool)insertLFs));
}
qt_QCString* kde_KCodecs_base64Encode1( qt_QCString* str, int insertLFs){
	return (qt_QCString*)new QCString(KCodecs::base64Encode((QCString&)* (QCString*)str, (bool)insertLFs));
}
void kde_KCodecs_base64Encode2( qt_QByteArray* in, qt_QByteArray* out, int insertLFs){
	KCodecs::base64Encode((QByteArray&)* (QByteArray*)in, (QByteArray&)* (QByteArray*)out, (bool)insertLFs);
	return;
}
qt_QCString* kde_KCodecs_base64Decode( qt_QByteArray* in){
	return (qt_QCString*)new QCString(KCodecs::base64Decode((QByteArray&)* (QByteArray*)in));
}
qt_QCString* kde_KCodecs_base64Decode1( qt_QCString* str){
	return (qt_QCString*)new QCString(KCodecs::base64Decode((QCString&)* (QCString*)str));
}
void kde_KCodecs_base64Decode2( qt_QByteArray* in, qt_QByteArray* out){
	KCodecs::base64Decode((QByteArray&)* (QByteArray*)in, (QByteArray&)* (QByteArray*)out);
	return;
}
