00001
00002
00003
00004
00005
00006
00007
00008
00009
#include "./addresseehelper.h"
00010
00011
#include <kdatastream.h>
00012
00013
namespace KABC {
00014
00015
static const char*
const AddresseeHelper_ftable[2][3] = {
00016 {
"ASYNC",
"initSettings()",
"initSettings()" },
00017 { 0, 0, 0 }
00018 };
00019
static const int AddresseeHelper_ftable_hiddens[1] = {
00020 0,
00021 };
00022
00023
bool AddresseeHelper::process(
const QCString &fun,
const QByteArray &data,
QCString& replyType,
QByteArray &replyData)
00024 {
00025
if ( fun == AddresseeHelper_ftable[0][1] ) {
00026 replyType = AddresseeHelper_ftable[0][0];
00027 initSettings( );
00028 }
else {
00029
return DCOPObject::process( fun, data, replyType, replyData );
00030 }
00031
return true;
00032 }
00033
00034 QCStringList AddresseeHelper::interfaces()
00035 {
00036 QCStringList ifaces = DCOPObject::interfaces();
00037 ifaces +=
"KABC::AddresseeHelper";
00038
return ifaces;
00039 }
00040
00041 QCStringList AddresseeHelper::functions()
00042 {
00043 QCStringList funcs = DCOPObject::functions();
00044
for (
int i = 0; AddresseeHelper_ftable[i][2]; i++ ) {
00045
if (AddresseeHelper_ftable_hiddens[i])
00046
continue;
00047
QCString func = AddresseeHelper_ftable[i][0];
00048 func +=
' ';
00049 func += AddresseeHelper_ftable[i][2];
00050 funcs << func;
00051 }
00052
return funcs;
00053 }
00054
00055 }
00056