comparison src/bridge/dbus_bridge.py @ 2168:255830fdb80b

core, bridge: renamed getProfileName to profileNameGet according to new conventions
author Goffi <goffi@goffi.org>
date Sun, 05 Mar 2017 21:36:01 +0100
parents 91347fe95384
children f047d5410040
comparison
equal deleted inserted replaced
2167:4b78b4c7f805 2168:255830fdb80b
316 async_callbacks=None) 316 async_callbacks=None)
317 def getPresenceStatuses(self, profile_key="@DEFAULT@"): 317 def getPresenceStatuses(self, profile_key="@DEFAULT@"):
318 return self._callback("getPresenceStatuses", unicode(profile_key)) 318 return self._callback("getPresenceStatuses", unicode(profile_key))
319 319
320 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 320 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
321 in_signature='s', out_signature='s',
322 async_callbacks=None)
323 def getProfileName(self, profile_key="@DEFAULT@"):
324 return self._callback("getProfileName", unicode(profile_key))
325
326 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
327 in_signature='', out_signature='', 321 in_signature='', out_signature='',
328 async_callbacks=('callback', 'errback')) 322 async_callbacks=('callback', 'errback'))
329 def getReady(self, callback=None, errback=None): 323 def getReady(self, callback=None, errback=None):
330 return self._callback("getReady", callback=callback, errback=errback) 324 return self._callback("getReady", callback=callback, errback=errback)
331 325
404 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 398 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
405 in_signature='s', out_signature='b', 399 in_signature='s', out_signature='b',
406 async_callbacks=None) 400 async_callbacks=None)
407 def profileIsSessionStarted(self, profile_key="@DEFAULT@"): 401 def profileIsSessionStarted(self, profile_key="@DEFAULT@"):
408 return self._callback("profileIsSessionStarted", unicode(profile_key)) 402 return self._callback("profileIsSessionStarted", unicode(profile_key))
403
404 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
405 in_signature='s', out_signature='s',
406 async_callbacks=None)
407 def profileNameGet(self, profile_key="@DEFAULT@"):
408 return self._callback("profileNameGet", unicode(profile_key))
409 409
410 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 410 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
411 in_signature='s', out_signature='', 411 in_signature='s', out_signature='',
412 async_callbacks=None) 412 async_callbacks=None)
413 def profileSetDefault(self, profile): 413 def profileSetDefault(self, profile):