Commit Graph

7 Commits

Author SHA1 Message Date
Peter Hutterer 415ecd39a5 kete: move the MainLoop into the manager so we can watch the bus name
And the basic mainloop code is the same everywhere anyway
2018-01-23 14:22:33 +10:00
Peter Hutterer 45196fbdca kete: print when drawings are available 2018-01-23 14:22:33 +10:00
Peter Hutterer 59ab21a5e8 kete: add the 'listen' command
Doesn't do anything but start/stop listening but hey, that's what it says on
the box
2018-01-23 14:22:33 +10:00
Peter Hutterer e5d3da5590 kete: default to 'list' if we don't have a subcommand 2018-01-23 09:05:17 +10:00
Peter Hutterer fc81356d25 kete: don't return self from __exit__
This supresses any exceptions we get during the handling. Just continue and
let the stack deal with the exception (if any)
2018-01-23 09:03:10 +10:00
Peter Hutterer e974ca17cc kete: use a Devices property changed as indicator for success
Remember the devices we are pairing and subscribe to the Manager.Devices
property changed notification. If a device moves from just existing to be part
of Manager.Devices it has been successfully paired.
2018-01-22 17:14:37 +10:00
Peter Hutterer e21f04bb8b Add tuhi-kete as a CLI interface to tuhi 2018-01-22 17:14:33 +10:00