1
/****************************************************************************
3
** DCOP Skeleton generated by dcopidl2cpp from basketdcopiface.kidl
5
** WARNING! All changes made in this file will be lost!
7
*****************************************************************************/
9
#include "./basketdcopiface.h"
11
#include <kdatastream.h>
14
static const char* const BasketDcopInterface_ftable[3][3] = {
15
{ "ASYNC", "newBasket()", "newBasket()" },
16
{ "void", "handleCommandLine()", "handleCommandLine()" },
19
static const int BasketDcopInterface_ftable_hiddens[2] = {
24
bool BasketDcopInterface::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
26
if ( fun == BasketDcopInterface_ftable[0][1] ) { // void newBasket()
27
replyType = BasketDcopInterface_ftable[0][0];
29
} else if ( fun == BasketDcopInterface_ftable[1][1] ) { // void handleCommandLine()
30
replyType = BasketDcopInterface_ftable[1][0];
33
return DCOPObject::process( fun, data, replyType, replyData );
38
QCStringList BasketDcopInterface::interfaces()
40
QCStringList ifaces = DCOPObject::interfaces();
41
ifaces += "BasketDcopInterface";
45
QCStringList BasketDcopInterface::functions()
47
QCStringList funcs = DCOPObject::functions();
48
for ( int i = 0; BasketDcopInterface_ftable[i][2]; i++ ) {
49
if (BasketDcopInterface_ftable_hiddens[i])
51
QCString func = BasketDcopInterface_ftable[i][0];
53
func += BasketDcopInterface_ftable[i][2];