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

#include "/tmp/buildd/tde-packaging/arch/tde-core/tde-tdebase/src/tdebase-trinity-14.1.6/khotkeys/app/kded.h"

#include <kdatastream.h>

namespace KHotKeys {

static const char* const KHotKeysModule_ftable[3][3] = {
    { "ASYNC", "reread_configuration()", "reread_configuration()" },
    { "ASYNC", "quit()", "quit()" },
    { 0, 0, 0 }
};
static const int KHotKeysModule_ftable_hiddens[2] = {
    0,
    0,
};

bool KHotKeysModule::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
    if ( fun == KHotKeysModule_ftable[0][1] ) { // void reread_configuration()
	replyType = KHotKeysModule_ftable[0][0]; 
	reread_configuration( );
    } else if ( fun == KHotKeysModule_ftable[1][1] ) { // void quit()
	replyType = KHotKeysModule_ftable[1][0]; 
	quit( );
    } else {
	return KDEDModule::process( fun, data, replyType, replyData );
    }
    return true;
}

QCStringList KHotKeysModule::interfaces()
{
    QCStringList ifaces = KDEDModule::interfaces();
    ifaces += "KHotKeys::KHotKeysModule";
    return ifaces;
}

QCStringList KHotKeysModule::functions()
{
    QCStringList funcs = KDEDModule::functions();
    for ( int i = 0; KHotKeysModule_ftable[i][2]; i++ ) {
	if (KHotKeysModule_ftable_hiddens[i])
	    continue;
	TQCString func = KHotKeysModule_ftable[i][0];
	func += ' ';
	func += KHotKeysModule_ftable[i][2];
	funcs << func;
    }
    return funcs;
}

} // namespace

