/***************************************************************************
                            qt_QMimeSource.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_QMimeSource.h"
}

#include <qmime.h>

void qt_del_QMimeSource( qt_QMimeSource* p ){
	delete (QMimeSource*) p;
}
char* qt_QMimeSource_format( qt_QMimeSource* instPointer,int n){
	return (char*) ((QMimeSource*)instPointer)->format((int)n);
}
int qt_QMimeSource_provides( qt_QMimeSource* instPointer,char* arg1){
	return (int) ((QMimeSource*)instPointer)->provides((char*)arg1);
}
qt_QByteArray* qt_QMimeSource_encodedData( qt_QMimeSource* instPointer,char* arg1){
	return (qt_QByteArray*)new QByteArray(((QMimeSource*)instPointer)->encodedData((char*)arg1));
}
int qt_QMimeSource_serialNumber( qt_QMimeSource* instPointer){
	return (int) ((QMimeSource*)instPointer)->serialNumber();
}
