kdecore Library API Documentation

ksycoca_skel.cpp

00001 /****************************************************************************
00002 **
00003 ** DCOP Skeleton created by dcopidl2cpp from ksycoca.kidl
00004 **
00005 ** WARNING! All changes made in this file will be lost!
00006 **
00007 *****************************************************************************/
00008 
00009 #include "./ksycoca.h"
00010 
00011 #include <kdatastream.h>
00012 
00013 
00014 static const char* const KSycoca_ftable[2][3] = {
00015     { "void", "notifyDatabaseChanged(QStringList)", "notifyDatabaseChanged(QStringList)" },
00016     { 0, 0, 0 }
00017 };
00018 static const int KSycoca_ftable_hiddens[1] = {
00019     0,
00020 };
00021 
00022 bool KSycoca::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
00023 {
00024     if ( fun == KSycoca_ftable[0][1] ) { // void notifyDatabaseChanged(QStringList)
00025     QStringList arg0;
00026     QDataStream arg( data, IO_ReadOnly );
00027     arg >> arg0;
00028     replyType = KSycoca_ftable[0][0]; 
00029     notifyDatabaseChanged(arg0 );
00030     } else {
00031     return DCOPObject::process( fun, data, replyType, replyData );
00032     }
00033     return true;
00034 }
00035 
00036 QCStringList KSycoca::interfaces()
00037 {
00038     QCStringList ifaces = DCOPObject::interfaces();
00039     ifaces += "KSycoca";
00040     return ifaces;
00041 }
00042 
00043 QCStringList KSycoca::functions()
00044 {
00045     QCStringList funcs = DCOPObject::functions();
00046     for ( int i = 0; KSycoca_ftable[i][2]; i++ ) {
00047     if (KSycoca_ftable_hiddens[i])
00048         continue;
00049     QCString func = KSycoca_ftable[i][0];
00050     func += ' ';
00051     func += KSycoca_ftable[i][2];
00052     funcs << func;
00053     }
00054     return funcs;
00055 }
00056 
00057 
KDE Logo
This file is part of the documentation for kdecore Library Version 3.2.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed May 5 07:15:45 2004 by doxygen 1.3.6 written by Dimitri van Heesch, © 1997-2003