• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • dcop
 

dcop

  • dcop
dcopc.h
1 /*
2  * C interface to DCOP
3  *
4  * (C) 2000 Rik Hemsley <rik@kde.org>
5  * (C) 2000 Simon Hausmann <hausmann@kde.org>
6  */
7 
8 #ifndef __dcopc_h__
9 #define __dcopc_h__
10 
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14 
15 #ifndef Bool
16 #define Bool int
17 #define True 1
18 #define False 0
19 #endif
20 
21 typedef void (*dcop_callback_t)(
22  const char * object_id,
23  const char * function,
24  const char * data,
25  unsigned int data_length
26 );
27 
41 Bool dcop_attach(void);
42 
57 char * dcop_register(const char * app_name, Bool add_pid);
58 
64 Bool dcop_detach(void);
65 
75 Bool dcop_register_callback(const char * object_id, dcop_callback_t callback);
76 
93 Bool dcop_send_signal(
94  const char * receiving_app,
95  const char * object,
96  const char * function,
97  char * data,
98  int data_length
99 );
100 
116 Bool dcop_call(
117  const char * app_name,
118  const char * remote_app_name,
119  const char * remote_object_id,
120  const char * remote_function,
121  const char * data,
122  int data_length,
123  char ** reply_type,
124  char ** reply_data,
125  int * reply_data_length
126 );
127 
130 #ifdef __cplusplus
131 }
132 #endif
133 
134 #endif /* __dcopc_h__ */
DCOPClient::dcop_attach
Bool dcop_attach(void)
Attach to the DCOP server.
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)
Call a function of a DCOP object.
DCOPClient::dcop_send_signal
Bool dcop_send_signal(const char *receiving_app, const char *object, const char *function, char *data, int data_length)
Send a signal to a DCOP object.
DCOPClient::dcop_register
char * dcop_register(const char *app_name, Bool add_pid)
Register as app 'app_name'.
DCOPClient::dcop_register_callback
Bool dcop_register_callback(const char *object_id, dcop_callback_t callback)
Register the callback function for an object id.
DCOPClient::dcop_detach
Bool dcop_detach(void)
Detach from the DCOP server.

dcop

Skip menu "dcop"
  • Main Page
  • Modules
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

dcop

Skip menu "dcop"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for dcop by doxygen 1.9.1
This website is maintained by Timothy Pearson.