Commit graph

14 commits

Author SHA1 Message Date
Wim Taymans
0a60cccf6d introspect: improve introspection API
Add GAsyncReadyCallback to the introspection API. This makes it possible
to report errors in the future. Don't pass NULL in the callback anymore
now that we have the Ready callback. We also don't need to have a return
value from the callback because now we can cancel any iteration by using
the GCancelable.
Make pinos_context_info_finish() to get the final result/error of
introspection.
Update tools for new API
2016-01-07 12:15:57 +01:00
Wim Taymans
1c2fbac587 deviceprovider: change debug message 2015-08-12 11:49:54 +02:00
Wim Taymans
0378dcd4b7 deviceprovider: update to new method name 2015-08-08 15:22:10 +02:00
Wim Taymans
b055748b1c introspect: add change_mask to introspect
Add a bitmask field to mark what fields have changed since the last
introspection call. We can then remove the properties from the subscribe
call.
2015-08-05 11:57:02 +02:00
Wim Taymans
8361f74646 introspect: improve instrospection
Pass changed properties around so that we can print them
2015-08-04 17:37:25 +02:00
Wim Taymans
95f479a760 deviceprovider: update for new API 2015-08-04 15:59:21 +02:00
Wim Taymans
13d846ec38 Improve introspection
Add instrospection of client and source-output.
Add properties to source-output and to CreateSourceOutput/Input
Add helper to fill properties of context.
Add client-name to pinossrc and pinossink
Improve test-subscribe to show all new introspection details.
2015-07-28 17:05:03 +02:00
Wim Taymans
1378a65fb7 devicemonitor: various improvements
Set the active device providers as a property on the daemon. In the
device monitor we can then obsolete the already monitored devices.
Copy all device properties to the source. Set the device class as
a property on the monitored devices.
2015-07-17 17:01:46 +02:00
Wim Taymans
04eca27890 device-provider: small cleanup 2015-07-14 15:50:08 +02:00
Wim Taymans
88ce3637bc deviceprovider: fix path argument 2015-07-10 15:31:51 +02:00
Wim Taymans
f268cdfda6 Try to use source_path consistently 2015-07-09 17:58:54 +02:00
Wim Taymans
be762c326c deviceprovider: reorganize the code a little 2015-07-09 17:34:01 +02:00
Wim Taymans
5d4350a38f deviceprovider: fix device provider 2015-07-09 11:35:18 +02:00
Wim Taymans
7159ea8408 deviceprovider: add device provider
Add device provider
Clean up states
Make generic object id instead of exposing GDBusProxy
Add more introspection API
2015-07-08 17:40:37 +02:00