[GnomeMeeting-devel-list] Dbus helper implementation (rough)



Hi,

here is a rough implementation of the dbus-helper, packed with a little configure.ac and Makefile.am to make it easier to compile separately (for now). I took old sample code I had and brushed it slightly.

Compile using :
$ aclocal
$ automake -a -c
$ autoconf
$ ./configure
$ make

Run simply :
$ ./dbus-helper

And to test it, simply use python :
$ python
>>> import dbus
>>> bus = dbus.SessionBus()
>>> obj = bus.get_object ('net.gnomemeeting.helper', '/net/gnomemeeting/helper')
>>> iface = dbus.Interface(obj, 'net.gnomemeeting.helper')
>>> iface.GetVersion()
>>> iface.GetSupportedProtocols()

Snark

Attachment: dbus-helper.tar.bz2
Description: application/bzip



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]