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 
00019 bool KSycoca::process(const QCString &fun, const QByteArray &data, QCString& replyType, QByteArray &replyData)
00020 {
00021     if ( fun == KSycoca_ftable[0][1] ) { // void notifyDatabaseChanged(QStringList)
00022     QStringList arg0;
00023     QDataStream arg( data, IO_ReadOnly );
00024     arg >> arg0;
00025     replyType = KSycoca_ftable[0][0]; 
00026     notifyDatabaseChanged(arg0 );
00027     } else {
00028     return DCOPObject::process( fun, data, replyType, replyData );
00029     }
00030     return TRUE;
00031 }
00032 
00033 QCStringList KSycoca::interfaces()
00034 {
00035     QCStringList ifaces = DCOPObject::interfaces();
00036     ifaces += "KSycoca";
00037     return ifaces;
00038 }
00039 
00040 QCStringList KSycoca::functions()
00041 {
00042     QCStringList funcs = DCOPObject::functions();
00043     for ( int i = 0; KSycoca_ftable[i][2]; i++ ) {
00044     QCString func = KSycoca_ftable[i][0];
00045     func += ' ';
00046     func += KSycoca_ftable[i][2];
00047     funcs << func;
00048     }
00049     return funcs;
00050 }
00051 
00052 
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.0.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Oct 8 12:20:42 2003 by doxygen 1.2.18 written by Dimitri van Heesch, © 1997-2001