[GnomeMeeting-devel-list] Dbus helper implementation



Hi,

I rewrote the dbus helper using the glib bindings. If that code looks nice enough, I would like to commit it.

Snark

PS1: to compile and install:
aclocal-1.9
automake-1.9 -a -c
autoconf
./configure --prefix=/usr
make
make install

PS2: to use:
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()

should give nice results.

PS3: notice that if you didn't install the helper, you'll need to run it by hand. And if you run it by hand, you'll need to have prepared your python session up to the actual calls to the helper and be ready to shoot : the helper shuts down after five seconds.

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



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