/***************************************************************************
                            kde_KMimeMagicResult.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_KMimeMagicResult.h"
}

#include <kmimemagic.h>

class KMimeMagicResultBridge : public KMimeMagicResult
{
public:
	KMimeMagicResultBridge() : KMimeMagicResult() {}
	~KMimeMagicResultBridge() {}
};

kde_KMimeMagicResult * kde_new_KMimeMagicResult(){
	return (kde_KMimeMagicResult *) new KMimeMagicResultBridge();
}
void kde_del_KMimeMagicResult( kde_KMimeMagicResult* p ){
	delete (KMimeMagicResultBridge*) p;
}
qt_QString * kde_KMimeMagicResult_mimeType( kde_KMimeMagicResult* instPointer){
	return (qt_QString *)new QString(((KMimeMagicResultBridge*)instPointer)->mimeType());
}
int kde_KMimeMagicResult_accuracy( kde_KMimeMagicResult* instPointer){
	return (int) ((KMimeMagicResultBridge*)instPointer)->accuracy();
}
int kde_KMimeMagicResult_isValid( kde_KMimeMagicResult* instPointer){
	return (int) ((KMimeMagicResultBridge*)instPointer)->isValid();
}
void kde_KMimeMagicResult_setMimeType( kde_KMimeMagicResult* instPointer,qt_QString * _mime){
	((KMimeMagicResultBridge*)instPointer)->setMimeType((QString&)* (QString*)_mime);
	return;
}
void kde_KMimeMagicResult_setAccuracy( kde_KMimeMagicResult* instPointer,int _accuracy){
	((KMimeMagicResultBridge*)instPointer)->setAccuracy((int)_accuracy);
	return;
}
void kde_KMimeMagicResult_setInvalid( kde_KMimeMagicResult* instPointer){
	((KMimeMagicResultBridge*)instPointer)->setInvalid();
	return;
}
