/****************************************************************************
**
** DCOP Skeleton generated by dcopidl2cpp from main.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/kcmshell/main.h"

#include <kdatastream.h>


static const char* const KCMShellMultiDialog_ftable[2][3] = {
    { "void", "activate(QCString)", "activate(QCString asn_id)" },
    { 0, 0, 0 }
};
static const int KCMShellMultiDialog_ftable_hiddens[1] = {
    0,
};

bool KCMShellMultiDialog::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
{
    if ( fun == KCMShellMultiDialog_ftable[0][1] ) { // void activate(QCString)
	QCString arg0;
	QDataStream arg( data, IO_ReadOnly );
	if (arg.atEnd()) return false;
	arg >> arg0;
	replyType = KCMShellMultiDialog_ftable[0][0]; 
	activate(arg0 );
    } else {
	return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

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

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


