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

#include "/tmp/buildd/tde-packaging/arch/tde-devel/tde-tdevelop/src/tdevelop-trinity-14.1.6/languages/cpp/KDevCppSupportIface.h"

#include <kdatastream.h>


static const char* const KDevCppSupportIface_ftable[3][3] = {
    { "void", "addClass()", "addClass()" },
    { "void", "parseProject()", "parseProject()" },
    { 0, 0, 0 }
};
static const int KDevCppSupportIface_ftable_hiddens[2] = {
    0,
    0,
};

bool KDevCppSupportIface::process(const TQCString &fun, const TQByteArray &data, TQCString& replyType, TQByteArray &replyData)
{
    if ( fun == KDevCppSupportIface_ftable[0][1] ) { // void addClass()
	replyType = KDevCppSupportIface_ftable[0][0]; 
	addClass( );
    } else if ( fun == KDevCppSupportIface_ftable[1][1] ) { // void parseProject()
	replyType = KDevCppSupportIface_ftable[1][0]; 
	parseProject( );
    } else {
	return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

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

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


