/***************************************************************************
                            kde_KDCOPActionProxy.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_KDCOPActionProxy.h"
}

#include <kdcopactionproxy.h>

class KDCOPActionProxyBridge : public KDCOPActionProxy
{
public:
	KDCOPActionProxyBridge(KActionCollection* actionCollection, DCOPObject* parent) : KDCOPActionProxy(actionCollection, parent) {}
	KDCOPActionProxyBridge(DCOPObject* parent) : KDCOPActionProxy(parent) {}
	~KDCOPActionProxyBridge() {}
};

kde_KDCOPActionProxy * kde_new_KDCOPActionProxy(kde_KActionCollection* actionCollection, kde_DCOPObject* parent){
	return (kde_KDCOPActionProxy *) new KDCOPActionProxyBridge((KActionCollection*)actionCollection, (DCOPObject*)parent);
}
kde_KDCOPActionProxy * kde_new_KDCOPActionProxy1(kde_DCOPObject* parent){
	return (kde_KDCOPActionProxy *) new KDCOPActionProxyBridge((DCOPObject*)parent);
}
void kde_del_KDCOPActionProxy( kde_KDCOPActionProxy* p ){
	delete (KDCOPActionProxyBridge*) p;
}
kde_KAction* kde_KDCOPActionProxy_action( kde_KDCOPActionProxy* instPointer,char* name){
	return (kde_KAction*) ((KDCOPActionProxyBridge*)instPointer)->action((char*)name);
}
qt_QCString* kde_KDCOPActionProxy_actionObjectId( kde_KDCOPActionProxy* instPointer,qt_QCString* name){
	return (qt_QCString*)new QCString(((KDCOPActionProxyBridge*)instPointer)->actionObjectId((QCString&)* (QCString*)name));
}
int kde_KDCOPActionProxy_process( kde_KDCOPActionProxy* instPointer,qt_QCString* obj, qt_QCString* fun, qt_QByteArray* data, qt_QCString* replyType, qt_QByteArray* replyData){
	return (int) ((KDCOPActionProxyBridge*)instPointer)->process((QCString&)* (QCString*)obj, (QCString&)* (QCString*)fun, (QByteArray&)* (QByteArray*)data, (QCString&)* (QCString*)replyType, (QByteArray&)* (QByteArray*)replyData);
}
int kde_KDCOPActionProxy_processAction( kde_KDCOPActionProxy* instPointer,qt_QCString* obj, qt_QCString* fun, qt_QByteArray* data, qt_QCString* replyType, qt_QByteArray* replyData, kde_KAction* action){
	return (int) ((KDCOPActionProxyBridge*)instPointer)->processAction((QCString&)* (QCString*)obj, (QCString&)* (QCString*)fun, (QByteArray&)* (QByteArray*)data, (QCString&)* (QCString*)replyType, (QByteArray&)* (QByteArray*)replyData, (KAction*)action);
}
