/***************************************************************************
                            kde_StubProcess.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_StubProcess.h"
}

#include <kdesu/stub.h>

class StubProcessBridge : public StubProcess
{
public:
	StubProcessBridge() : StubProcess() {}
	~StubProcessBridge() {}
	int  protected_ConverseStub(int check) {
		return (int ) StubProcess::ConverseStub(check);
	}
	void protected_notifyTaskbar(const QString& suffix) {
		StubProcess::notifyTaskbar(suffix);
		return;
	}
	 QCString  protected_display() {
		return ( QCString ) StubProcess::display();
	}
	 QCString  protected_displayAuth() {
		return ( QCString ) StubProcess::displayAuth();
	}
	 QCString  protected_dcopServer() {
		return ( QCString ) StubProcess::dcopServer();
	}
	 QCString  protected_dcopAuth() {
		return ( QCString ) StubProcess::dcopAuth();
	}
	 QCString  protected_iceAuth() {
		return ( QCString ) StubProcess::iceAuth();
	}
};

kde_StubProcess * kde_new_StubProcess(){
	return (kde_StubProcess *) new StubProcessBridge();
}
void kde_del_StubProcess( kde_StubProcess* p ){
	delete (StubProcessBridge*) p;
}
void kde_StubProcess_setDcopTransport( kde_StubProcess* instPointer,qt_QCString* dcopTransport){
	((StubProcessBridge*)instPointer)->setDcopTransport((QCString&)* (QCString*)dcopTransport);
	return;
}
void kde_StubProcess_setCommand( kde_StubProcess* instPointer,qt_QCString* command){
	((StubProcessBridge*)instPointer)->setCommand((QCString&)* (QCString*)command);
	return;
}
void kde_StubProcess_setUser( kde_StubProcess* instPointer,qt_QCString* user){
	((StubProcessBridge*)instPointer)->setUser((QCString&)* (QCString*)user);
	return;
}
void kde_StubProcess_setXOnly( kde_StubProcess* instPointer,int xonly){
	((StubProcessBridge*)instPointer)->setXOnly((bool)xonly);
	return;
}
void kde_StubProcess_setDCOPForwarding( kde_StubProcess* instPointer,int dcopForwarding){
	((StubProcessBridge*)instPointer)->setDCOPForwarding((bool)dcopForwarding);
	return;
}
void kde_StubProcess_setPriority( kde_StubProcess* instPointer,int prio){
	((StubProcessBridge*)instPointer)->setPriority((int)prio);
	return;
}
void kde_StubProcess_setScheduler( kde_StubProcess* instPointer,int sched){
	((StubProcessBridge*)instPointer)->setScheduler((int)sched);
	return;
}
int kde_StubProcess_ConverseStub( kde_StubProcess* instPointer,int check){
	return (int) ((StubProcessBridge*)instPointer)->protected_ConverseStub((int)check);
}
void kde_StubProcess_notifyTaskbar( kde_StubProcess* instPointer,qt_QString * suffix){
	((StubProcessBridge*)instPointer)->protected_notifyTaskbar((QString&)* (QString*)suffix);
	return;
}
qt_QCString* kde_StubProcess_display( kde_StubProcess* instPointer){
	return (qt_QCString*)new QCString(((StubProcessBridge*)instPointer)->protected_display());
}
qt_QCString* kde_StubProcess_displayAuth( kde_StubProcess* instPointer){
	return (qt_QCString*)new QCString(((StubProcessBridge*)instPointer)->protected_displayAuth());
}
qt_QCString* kde_StubProcess_dcopServer( kde_StubProcess* instPointer){
	return (qt_QCString*)new QCString(((StubProcessBridge*)instPointer)->protected_dcopServer());
}
qt_QCString* kde_StubProcess_dcopAuth( kde_StubProcess* instPointer){
	return (qt_QCString*)new QCString(((StubProcessBridge*)instPointer)->protected_dcopAuth());
}
qt_QCString* kde_StubProcess_iceAuth( kde_StubProcess* instPointer){
	return (qt_QCString*)new QCString(((StubProcessBridge*)instPointer)->protected_iceAuth());
}
