You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
7 lines
388 B
Python
7 lines
388 B
Python
import dbus
|
|
|
|
def DBusContainerService(object_path="/ContainerManager", intf="id.waydro.ContainerManager"):
|
|
return dbus.Interface(dbus.SystemBus().get_object("id.waydro.Container", object_path), intf)
|
|
|
|
def DBusSessionService(object_path="/SessionManager", intf="id.waydro.SessionManager"):
|
|
return dbus.Interface(dbus.SessionBus().get_object("id.waydro.Session", object_path), intf) |