/***************************************************************************
                            kde_KProtocolInfo.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_KProtocolInfo.h"
}

#include <kprotocolinfo.h>

class KProtocolInfoBridge : public KProtocolInfo
{
public:
	KProtocolInfoBridge(const QString& path) : KProtocolInfo(path) {}
	KProtocolInfoBridge(QDataStream& _str, int offset) : KProtocolInfo(_str, offset) {}
	~KProtocolInfoBridge() {}
};

kde_KProtocolInfo * kde_new_KProtocolInfo(qt_QString * path){
	return (kde_KProtocolInfo *) new KProtocolInfoBridge((QString&)* (QString*)path);
}
int kde_KProtocolInfo_isValid( kde_KProtocolInfo* instPointer){
	return (int) ((KProtocolInfoBridge*)instPointer)->isValid();
}
qt_QString * kde_KProtocolInfo_name( kde_KProtocolInfo* instPointer){
	return (qt_QString *)new QString(((KProtocolInfoBridge*)instPointer)->name());
}
kde_KProtocolInfo * kde_new_KProtocolInfo1(qt_QDataStream * _str, int offset){
	return (kde_KProtocolInfo *) new KProtocolInfoBridge((QDataStream&)* (QDataStream*)_str, (int)offset);
}
void kde_del_KProtocolInfo( kde_KProtocolInfo* p ){
	delete (KProtocolInfoBridge*) p;
}
void kde_KProtocolInfo_load( kde_KProtocolInfo* instPointer,qt_QDataStream * arg1){
	((KProtocolInfoBridge*)instPointer)->load((QDataStream&)* (QDataStream*)arg1);
	return;
}
void kde_KProtocolInfo_save( kde_KProtocolInfo* instPointer,qt_QDataStream * arg1){
	((KProtocolInfoBridge*)instPointer)->save((QDataStream&)* (QDataStream*)arg1);
	return;
}
qt_QStringList* kde_KProtocolInfo_protocols( ){
	return (qt_QStringList*)new QStringList(KProtocolInfoBridge::protocols());
}
int kde_KProtocolInfo_isKnownProtocol( kde_KURL* url){
	return (int) KProtocolInfoBridge::isKnownProtocol((KURL&)* (KURL*)url);
}
qt_QString * kde_KProtocolInfo_exec( qt_QString * protocol){
	return (qt_QString *)new QString(KProtocolInfoBridge::exec((QString&)* (QString*)protocol));
}
int kde_KProtocolInfo_inputType( kde_KURL* url){
	return (int) KProtocolInfoBridge::inputType((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_outputType( kde_KURL* url){
	return (int) KProtocolInfoBridge::outputType((KURL&)* (KURL*)url);
}
qt_QStringList* kde_KProtocolInfo_listing( kde_KURL* url){
	return (qt_QStringList*)new QStringList(KProtocolInfoBridge::listing((KURL&)* (KURL*)url));
}
int kde_KProtocolInfo_isSourceProtocol( kde_KURL* url){
	return (int) KProtocolInfoBridge::isSourceProtocol((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_isHelperProtocol( kde_KURL* url){
	return (int) KProtocolInfoBridge::isHelperProtocol((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_isFilterProtocol( kde_KURL* url){
	return (int) KProtocolInfoBridge::isFilterProtocol((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_supportsListing( kde_KURL* url){
	return (int) KProtocolInfoBridge::supportsListing((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_supportsReading( kde_KURL* url){
	return (int) KProtocolInfoBridge::supportsReading((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_supportsWriting( kde_KURL* url){
	return (int) KProtocolInfoBridge::supportsWriting((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_supportsMakeDir( kde_KURL* url){
	return (int) KProtocolInfoBridge::supportsMakeDir((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_supportsDeleting( kde_KURL* url){
	return (int) KProtocolInfoBridge::supportsDeleting((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_supportsLinking( kde_KURL* url){
	return (int) KProtocolInfoBridge::supportsLinking((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_supportsMoving( kde_KURL* url){
	return (int) KProtocolInfoBridge::supportsMoving((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_canCopyFromFile( kde_KURL* url){
	return (int) KProtocolInfoBridge::canCopyFromFile((KURL&)* (KURL*)url);
}
int kde_KProtocolInfo_canCopyToFile( kde_KURL* url){
	return (int) KProtocolInfoBridge::canCopyToFile((KURL&)* (KURL*)url);
}
qt_QString * kde_KProtocolInfo_defaultMimetype( kde_KURL* url){
	return (qt_QString *)new QString(KProtocolInfoBridge::defaultMimetype((KURL&)* (KURL*)url));
}
qt_QString * kde_KProtocolInfo_icon( qt_QString * protocol){
	return (qt_QString *)new QString(KProtocolInfoBridge::icon((QString&)* (QString*)protocol));
}
qt_QString * kde_KProtocolInfo_config( qt_QString * protocol){
	return (qt_QString *)new QString(KProtocolInfoBridge::config((QString&)* (QString*)protocol));
}
int kde_KProtocolInfo_maxSlaves( qt_QString * protocol){
	return (int) KProtocolInfoBridge::maxSlaves((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_determineMimetypeFromExtension( qt_QString * protocol){
	return (int) KProtocolInfoBridge::determineMimetypeFromExtension((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_inputType1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::inputType((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_outputType1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::outputType((QString&)* (QString*)protocol);
}
qt_QStringList* kde_KProtocolInfo_listing1( qt_QString * protocol){
	return (qt_QStringList*)new QStringList(KProtocolInfoBridge::listing((QString&)* (QString*)protocol));
}
int kde_KProtocolInfo_isSourceProtocol1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::isSourceProtocol((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_isHelperProtocol1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::isHelperProtocol((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_isFilterProtocol1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::isFilterProtocol((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_isKnownProtocol1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::isKnownProtocol((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_supportsListing1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::supportsListing((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_supportsReading1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::supportsReading((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_supportsWriting1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::supportsWriting((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_supportsMakeDir1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::supportsMakeDir((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_supportsDeleting1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::supportsDeleting((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_supportsLinking1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::supportsLinking((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_supportsMoving1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::supportsMoving((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_canCopyFromFile1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::canCopyFromFile((QString&)* (QString*)protocol);
}
int kde_KProtocolInfo_canCopyToFile1( qt_QString * protocol){
	return (int) KProtocolInfoBridge::canCopyToFile((QString&)* (QString*)protocol);
}
qt_QString * kde_KProtocolInfo_defaultMimetype1( qt_QString * protocol){
	return (qt_QString *)new QString(KProtocolInfoBridge::defaultMimetype((QString&)* (QString*)protocol));
}
