/***************************************************************************
                            kde_KDCOPPropertyProxy.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_KDCOPPropertyProxy.h"
}

#include <kdcoppropertyproxy.h>

class KDCOPPropertyProxyBridge : public KDCOPPropertyProxy
{
public:
	KDCOPPropertyProxyBridge(QObject* object) : KDCOPPropertyProxy(object) {}
	~KDCOPPropertyProxyBridge() {}
};

kde_KDCOPPropertyProxy * kde_new_KDCOPPropertyProxy(qt_QObject * object){
	return (kde_KDCOPPropertyProxy *) new KDCOPPropertyProxyBridge((QObject*)object);
}
void kde_del_KDCOPPropertyProxy( kde_KDCOPPropertyProxy* p ){
	delete (KDCOPPropertyProxyBridge*) p;
}
int kde_KDCOPPropertyProxy_isPropertyRequest( kde_KDCOPPropertyProxy* instPointer,qt_QCString* fun){
	return (int) ((KDCOPPropertyProxyBridge*)instPointer)->isPropertyRequest((QCString&)* (QCString*)fun);
}
int kde_KDCOPPropertyProxy_processPropertyRequest( kde_KDCOPPropertyProxy* instPointer,qt_QCString* fun, qt_QByteArray* data, qt_QCString* replyType, qt_QByteArray* replyData){
	return (int) ((KDCOPPropertyProxyBridge*)instPointer)->processPropertyRequest((QCString&)* (QCString*)fun, (QByteArray&)* (QByteArray*)data, (QCString&)* (QCString*)replyType, (QByteArray&)* (QByteArray*)replyData);
}
int kde_KDCOPPropertyProxy_isPropertyRequest1( qt_QCString* fun, qt_QObject * object){
	return (int) KDCOPPropertyProxyBridge::isPropertyRequest((QCString&)* (QCString*)fun, (QObject*)object);
}
int kde_KDCOPPropertyProxy_processPropertyRequest1( qt_QCString* fun, qt_QByteArray* data, qt_QCString* replyType, qt_QByteArray* replyData, qt_QObject * object){
	return (int) KDCOPPropertyProxyBridge::processPropertyRequest((QCString&)* (QCString*)fun, (QByteArray&)* (QByteArray*)data, (QCString&)* (QCString*)replyType, (QByteArray&)* (QByteArray*)replyData, (QObject*)object);
}
