def __init__(self):
bus = dbus.SessionBus()
service = bus.get_object('com.prozacville.steam_monitor', "/com/prozacville/steam_monitor")
self._start = service.get_dbus_method('steam_start', 'com.prozacville.steam_monitor.Start')
self._status = service.get_dbus_method('steam_status', 'com.prozacville.steam_monitor.Status')
self._stop = service.get_dbus_method('steam_stop', 'com.prozacville.steam_monitor.Stop')
self._kill = service.get_dbus_method('steam_kill', 'com.prozacville.steam_monitor.Kill')
self._quit = service.get_dbus_method('quit', 'com.example.service.Quit')
steam_client.py 文件源码
python
阅读 20
收藏 0
点赞 0
评论 0
评论列表
文章目录