dcopc.h
/*
* C interface to DCOP
*
* (C) 2000 Rik Hemsley <rik@kde.org>
* (C) 2000 Simon Hausmann <hausmann@kde.org>
*/
#ifndef __dcopc_h__
#define __dcopc_h__
#ifdef __cplusplus
extern "C" {
#endif
#ifndef Bool
#define Bool int
#define True 1
#define False 0
#endif
typedef void (*dcop_callback_t)(
const char * object_id,
const char * function,
const char * data,
unsigned int data_length
);
Bool dcop_attach(void);
char * dcop_register(const char * app_name, Bool add_pid);
Bool dcop_detach(void);
Bool dcop_register_callback(const char * object_id, dcop_callback_t callback);
Bool dcop_send_signal(
const char * receiving_app,
const char * object,
const char * function,
char * data,
int data_length
);
Bool dcop_call(
const char * app_name,
const char * remote_app_name,
const char * remote_object_id,
const char * remote_function,
const char * data,
int data_length,
char ** reply_type,
char ** reply_data,
int * reply_data_length
);
#ifdef __cplusplus
}
#endif
#endif /* __dcopc_h__ */
DCOPClient::dcop_send_signal
Bool dcop_send_signal(const char *receiving_app, const char *object, const char *function, char *data, int data_length)
DCOPClient::dcop_attach
Bool dcop_attach(void)
DCOPClient::dcop_call
Bool dcop_call(const char *app_name, const char *remote_app_name, const char *remote_object_id, const char *remote_function, const char *data, int data_length, char **reply_type, char **reply_data, int *reply_data_length)
DCOPClient::dcop_register
char * dcop_register(const char *app_name, Bool add_pid)
DCOPClient::dcop_detach
Bool dcop_detach(void)
DCOPClient::dcop_register_callback
Bool dcop_register_callback(const char *object_id, dcop_callback_t callback)

KDE Home | KDE Accessibility Home | Description of Access Keys