Hi, I started playing a bit with the o.f.T.Debug interface, wanting to implement a log viewer for tp-kde. So, I added low level generated bindings and a high level class called "DebugReceiver" (to match the TpDebugSender of tp-glib, which is the server-side), together with the helper "PendingDebugMessageList" to carry the return value of the "GetMessages" method. The implementation is far from perfect, but I submit it here for discussion. I think the spec is problematic because there is no way of tracking the "Enabled" property (so you cannot reliably cache it) and also there is no reference-counting on "Enabled", so if I set it to false in my program, any other possible log viewer that is running at that time will malfunction. I went for the option of not exporting "Enabled" at all to the user and use a Feature instead to enable it. The problem with this is that I cannot set it back to false later, so all the services will continue to have the overhead of emitting debug messages on the bus after my log viewer closes. Ideas welcome. Branch at: http://cgit.collabora.com/git/user/gkiagia/telepathy-qt4.git/log/?h=debug-receiver
Merged in master
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.