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

#include "/tmp/buildd/tde-packaging/arch/tde-base/tde-tdeutils/src/tdeutils-trinity-14.1.6/tdewallet/tdewalletmanager.h"

#include <kdatastream.h>


static const char* const TDEWalletManager_ftable[4][3] = {
    { "ASYNC", "allWalletsClosed()", "allWalletsClosed()" },
    { "ASYNC", "updateWalletDisplay()", "updateWalletDisplay()" },
    { "ASYNC", "aWalletWasOpened()", "aWalletWasOpened()" },
    { 0, 0, 0 }
};
static const int TDEWalletManager_ftable_hiddens[3] = {
    0,
    0,
    0,
};

bool TDEWalletManager::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
    if ( fun == TDEWalletManager_ftable[0][1] ) { // void allWalletsClosed()
	replyType = TDEWalletManager_ftable[0][0]; 
	allWalletsClosed( );
    } else if ( fun == TDEWalletManager_ftable[1][1] ) { // void updateWalletDisplay()
	replyType = TDEWalletManager_ftable[1][0]; 
	updateWalletDisplay( );
    } else if ( fun == TDEWalletManager_ftable[2][1] ) { // void aWalletWasOpened()
	replyType = TDEWalletManager_ftable[2][0]; 
	aWalletWasOpened( );
    } else {
	return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

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

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


