• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • @topname@
  • Sitemap
  • Contact Us
 

dcop

dcopc.h

00001 /*
00002  * C interface to DCOP
00003  *
00004  * (C) 2000 Rik Hemsley <rik@kde.org>
00005  * (C) 2000 Simon Hausmann <hausmann@kde.org>
00006  */
00007 
00008 #ifndef __dcopc_h__
00009 #define __dcopc_h__
00010 
00011 #ifdef __cplusplus
00012 extern "C" {
00013 #endif
00014 
00015 #ifndef Bool
00016 #define Bool int
00017 #define True 1
00018 #define False 0
00019 #endif
00020 
00021 typedef void (*dcop_callback_t)(
00022   const char * object_id,
00023   const char * function,
00024   const char * data,
00025   unsigned int data_length
00026 );
00027   
00041 Bool dcop_attach(void);
00042 
00057 char * dcop_register(const char * app_name, Bool add_pid);
00058 
00064 Bool dcop_detach(void);
00065 
00075 Bool dcop_register_callback(const char * object_id, dcop_callback_t callback);
00076 
00093 Bool dcop_send_signal(
00094   const char * receiving_app,
00095   const char * object,
00096   const char * function,
00097   char * data,
00098   int data_length
00099 );
00100 
00116 Bool dcop_call(
00117   const char * app_name,
00118   const char * remote_app_name,
00119   const char * remote_object_id,
00120   const char * remote_function,
00121   const char * data,
00122   int data_length,
00123   char ** reply_type,
00124   char ** reply_data,
00125   int * reply_data_length
00126 );
00127 
00130 #ifdef __cplusplus
00131 }
00132 #endif
00133 
00134 #endif /* __dcopc_h__ */

dcop

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

@topname@

Skip menu "@topname@"
  •     kdnssd-avahi
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for @topname@ by doxygen 1.5.5
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal