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

#include "/tmp/buildd/tde-packaging/arch/tde-core/tde-tdelibs/src/tdelibs-trinity-14.1.6/networkstatus/connectionmanager.h"

#include <kdatastream.h>


static const char* const ConnectionManager_ftable[2][3] = {
    { "void", "slotStatusChanged(TQString,int)", "slotStatusChanged(TQString host,int status)" },
    { 0, 0, 0 }
};
static const int ConnectionManager_ftable_hiddens[1] = {
    0,
};

bool ConnectionManager::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
    if ( fun == ConnectionManager_ftable[0][1] ) { // void slotStatusChanged(TQString,int)
	TQString arg0;
	int arg1;
	TQDataStream arg( data, IO_ReadOnly );
	if (arg.atEnd()) return false;
	arg >> arg0;
	if (arg.atEnd()) return false;
	arg >> arg1;
	replyType = ConnectionManager_ftable[0][0]; 
	slotStatusChanged(arg0, arg1 );
    } else {
	return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

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

QCStringList ConnectionManager::functions()
{
    QCStringList funcs = DCOPObject::functions();
    for ( int i = 0; ConnectionManager_ftable[i][2]; i++ ) {
	if (ConnectionManager_ftable_hiddens[i])
	    continue;
	TQCString func = ConnectionManager_ftable[i][0];
	func += ' ';
	func += ConnectionManager_ftable[i][2];
	funcs << func;
    }
    return funcs;
}


