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

#include "/tmp/buildd/tde-packaging/arch/tde-extra/tde-tdeaccessibility/src/tdeaccessibility-trinity-14.1.6/kttsd/kttsd/kttsd.h"

#include <kdatastream.h>


static const char* const KTTSD_ftable[2][3] = {
    { "void", "notificationSignal(TQString,TQString,TQString,TQString,TQString,int,int,int,int)", "notificationSignal(TQString event,TQString fromApp,TQString text,TQString sound,TQString file,int present,int level,int winId,int eventId)" },
    { 0, 0, 0 }
};
static const int KTTSD_ftable_hiddens[1] = {
    0,
};

bool KTTSD::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
    if ( fun == KTTSD_ftable[0][1] ) { // void notificationSignal(TQString,TQString,TQString,TQString,TQString,int,int,int,int)
	TQString arg0;
	TQString arg1;
	TQString arg2;
	TQString arg3;
	TQString arg4;
	int arg5;
	int arg6;
	int arg7;
	int arg8;
	TQDataStream arg( data, IO_ReadOnly );
	if (arg.atEnd()) return false;
	arg >> arg0;
	if (arg.atEnd()) return false;
	arg >> arg1;
	if (arg.atEnd()) return false;
	arg >> arg2;
	if (arg.atEnd()) return false;
	arg >> arg3;
	if (arg.atEnd()) return false;
	arg >> arg4;
	if (arg.atEnd()) return false;
	arg >> arg5;
	if (arg.atEnd()) return false;
	arg >> arg6;
	if (arg.atEnd()) return false;
	arg >> arg7;
	if (arg.atEnd()) return false;
	arg >> arg8;
	replyType = KTTSD_ftable[0][0]; 
	notificationSignal(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 );
    } else {
	return KSpeech::process( fun, data, replyType, replyData );
    }
    return true;
}

QCStringList KTTSD::interfaces()
{
    QCStringList ifaces = KSpeech::interfaces();
    ifaces += "KTTSD";
    return ifaces;
}

QCStringList KTTSD::functions()
{
    QCStringList funcs = KSpeech::functions();
    for ( int i = 0; KTTSD_ftable[i][2]; i++ ) {
	if (KTTSD_ftable_hiddens[i])
	    continue;
	TQCString func = KTTSD_ftable[i][0];
	func += ' ';
	func += KTTSD_ftable[i][2];
	funcs << func;
    }
    return funcs;
}


#include <kdatastream.h>


static const char* const kspeech_ftable[1][3] = {
    { 0, 0, 0 }
};

bool kspeech::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
	return KSpeech::process( fun, data, replyType, replyData );
}

QCStringList kspeech::interfaces()
{
    QCStringList ifaces = KSpeech::interfaces();
    ifaces += "kspeech";
    return ifaces;
}

QCStringList kspeech::functions()
{
    QCStringList funcs = KSpeech::functions();
    for ( int i = 0; kspeech_ftable[i][2]; i++ ) {
	TQCString func = kspeech_ftable[i][0];
	func += ' ';
	func += kspeech_ftable[i][2];
	funcs << func;
    }
    return funcs;
}


