new plugin: gateways plugin, and first implementation of findGateways
- test menu in Wix - new actionResultExt method, for sending dictionary of dictionaries - new getNextId method, for accessing sat ids from plugins.
This commit is contained in:
parent
1af4c213d8
commit
77cd653fa6
1 changed files with 128 additions and 3 deletions
|
|
@ -78,6 +78,11 @@ class DbusObject(dbus.service.Object):
|
|||
def actionResult(self, type, id, data):
|
||||
debug("result of action: id = [%s] type = %s data = %s", id, type, data)
|
||||
|
||||
@dbus.service.signal(const_INT_PREFIX+const_REQ_SUFFIX,
|
||||
signature='ssa{sa{ss}}')
|
||||
def actionResultExt(self, type, id, data):
|
||||
debug("extended result of action: id = [%s] type = %s data = %s", id, type, data)
|
||||
|
||||
### methods ###
|
||||
|
||||
@dbus.service.method(const_INT_PREFIX+const_COMM_SUFFIX,
|
||||
|
|
@ -255,6 +260,9 @@ class DBusBridge(Bridge):
|
|||
def actionResult(self, type, id, data):
|
||||
self.dbus_bridge.actionResult(type, id, data)
|
||||
|
||||
def actionResultExt(self, type, id, data):
|
||||
self.dbus_bridge.actionResultExt(type, id, data)
|
||||
|
||||
def register(self, name, callback):
|
||||
debug("registering DBus bridge method [%s]",name)
|
||||
self.dbus_bridge.register(name, callback)
|
||||
|
|
|
|||
Loading…
Reference in a new issue