kdemm Library API Documentation

factory_skel.cpp

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