/****************************************************************************
**
** DCOP Skeleton generated by dcopidl2cpp from kdebugdcopiface.kidl
**
** WARNING! All changes made in this file will be lost!
**
*****************************************************************************/

#include "/usr/src/ports/kdelibs3/kdelibs3-3.5.10-11.i686/src/kdelibs-3.5.10/kdecore/kdebugdcopiface.h"

#include <kdatastream.h>


static const char* const KDebugDCOPIface_ftable[3][3] = {
    { "void", "notifyKDebugConfigChanged()", "notifyKDebugConfigChanged()" },
    { "void", "printBacktrace()", "printBacktrace()" },
    { 0, 0, 0 }
};
static const int KDebugDCOPIface_ftable_hiddens[2] = {
    0,
    0,
};

bool KDebugDCOPIface::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
{
    if ( fun == KDebugDCOPIface_ftable[0][1] ) { // void notifyKDebugConfigChanged()
	replyType = KDebugDCOPIface_ftable[0][0]; 
	notifyKDebugConfigChanged( );
    } else if ( fun == KDebugDCOPIface_ftable[1][1] ) { // void printBacktrace()
	replyType = KDebugDCOPIface_ftable[1][0]; 
	printBacktrace( );
    } else {
	return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

QCStringList KDebugDCOPIface::interfaces()
{
    QCStringList ifaces = DCOPObject::interfaces();
    ifaces += "KDebugDCOPIface";
    return ifaces;
}

QCStringList KDebugDCOPIface::functions()
{
    QCStringList funcs = DCOPObject::functions();
    for ( int i = 0; KDebugDCOPIface_ftable[i][2]; i++ ) {
	if (KDebugDCOPIface_ftable_hiddens[i])
	    continue;
	QCString func = KDebugDCOPIface_ftable[i][0];
	func += ' ';
	func += KDebugDCOPIface_ftable[i][2];
	funcs << func;
    }
    return funcs;
}


