[Vala] Dbus service
- From: Roberto Majadas <roberto majadas openshine com>
- To: Vala ML <vala-list gnome org>
- Subject: [Vala] Dbus service
- Date: Tue, 26 Feb 2008 14:49:13 +0100
Is there any sample or support to create a dbus service ?
Something like python dbus support ...
class Example(dbus.service.Object):
def __init__(self, object_path):
dbus.service.Object.__init__(self, dbus.SessionBus(), path)
@dbus.service.method(dbus_interface='com.example.Sample',
in_signature='v', out_signature='s')
def StringifyVariant(self, variant):
return str(variant)
cheers
Roberto
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]