kdecore Library API Documentation

kdebugdcopiface_skel.cpp

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