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

#include "/usr/src/ports/kdelibs3/kdelibs3-3.5.10-11.i686/src/kdelibs-3.5.10/interfaces/ktexteditor/viewstatusmsgdcopinterface.h"

#include <kdatastream.h>

namespace KTextEditor {

static const char* const ViewStatusMsgDCOPInterface_ftable[3][3] = {
    { "uint", "viewStatusMsgInterfaceNumber()", "viewStatusMsgInterfaceNumber()" },
    { "void", "viewStatusMsg(QString)", "viewStatusMsg(QString msg)" },
    { 0, 0, 0 }
};
static const int ViewStatusMsgDCOPInterface_ftable_hiddens[2] = {
    0,
    0,
};

bool ViewStatusMsgDCOPInterface::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
{
    if ( fun == ViewStatusMsgDCOPInterface_ftable[0][1] ) { // uint viewStatusMsgInterfaceNumber()
	replyType = ViewStatusMsgDCOPInterface_ftable[0][0]; 
	QDataStream _replyStream( replyData, IO_WriteOnly );
	_replyStream << viewStatusMsgInterfaceNumber( );
    } else if ( fun == ViewStatusMsgDCOPInterface_ftable[1][1] ) { // void viewStatusMsg(QString)
	QString arg0;
	QDataStream arg( data, IO_ReadOnly );
	if (arg.atEnd()) return false;
	arg >> arg0;
	replyType = ViewStatusMsgDCOPInterface_ftable[1][0]; 
	viewStatusMsg(arg0 );
    } else {
	return DCOPObject::process( fun, data, replyType, replyData );
    }
    return true;
}

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

QCStringList ViewStatusMsgDCOPInterface::functions()
{
    QCStringList funcs = DCOPObject::functions();
    for ( int i = 0; ViewStatusMsgDCOPInterface_ftable[i][2]; i++ ) {
	if (ViewStatusMsgDCOPInterface_ftable_hiddens[i])
	    continue;
	QCString func = ViewStatusMsgDCOPInterface_ftable[i][0];
	func += ' ';
	func += ViewStatusMsgDCOPInterface_ftable[i][2];
	funcs << func;
    }
    return funcs;
}

} // namespace

