comparison src/bridge/DBus.py @ 1595:a3d0cfa5b7a6

core, bridge: added a profileSetDefault method
author Goffi <goffi@goffi.org>
date Sat, 14 Nov 2015 19:18:10 +0100
parents d6d655238a93
children e2ed8009e66e
comparison
equal deleted inserted replaced
1594:313f2bb7841b 1595:a3d0cfa5b7a6
427 async_callbacks=None) 427 async_callbacks=None)
428 def profileIsSessionStarted(self, profile_key="@DEFAULT@"): 428 def profileIsSessionStarted(self, profile_key="@DEFAULT@"):
429 return self._callback("profileIsSessionStarted", unicode(profile_key)) 429 return self._callback("profileIsSessionStarted", unicode(profile_key))
430 430
431 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX, 431 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
432 in_signature='s', out_signature='',
433 async_callbacks=None)
434 def profileSetDefault(self, arg_0):
435 return self._callback("profileSetDefault", unicode(arg_0))
436
437 @dbus.service.method(const_INT_PREFIX+const_CORE_SUFFIX,
432 in_signature='ss', out_signature='b', 438 in_signature='ss', out_signature='b',
433 async_callbacks=('callback', 'errback')) 439 async_callbacks=('callback', 'errback'))
434 def profileStartSession(self, password='', profile_key="@DEFAULT@", callback=None, errback=None): 440 def profileStartSession(self, password='', profile_key="@DEFAULT@", callback=None, errback=None):
435 return self._callback("profileStartSession", unicode(password), unicode(profile_key), callback=callback, errback=errback) 441 return self._callback("profileStartSession", unicode(password), unicode(profile_key), callback=callback, errback=errback)
436 442