All of the telepathy-glib examples ought to use TpBaseProtocol, now that it's ready for merge. Currently, tests/dbus/protocol-objects assumes that echo does not export protocol objects, but echo-2 (aka echo-message-parts) does. Since the original Text-only echo CM is no longer exemplary (everyone with Text should ideally implement Messages), I suggest moving it from examples/ into tests/lib/ and re-namespacing accordingly.
See branch smcv/exemplary for a partial, but reviewable, implementation. Done: * echo is no longer an example CM, it's now in tests/lib * all example CMs implement Contacts * extended implements Protocol objects * no-protocols is smaller To do: * callable should implement a Protocol object * call should implement a Protocol object * channelspecific should implement a Protocol object * contactlist should implement a Protocol object
(In reply to comment #1) > To do: > * callable should implement a Protocol object > * call should implement a Protocol object > * channelspecific should implement a Protocol object > * contactlist should implement a Protocol object Done. In addition, channelspecific now uses TpMessageMixin rather than TpTextMixin, and echo2 correctly claims to implement Destroyable.
+example_extended_protocol_normalize_contact (const gchar *id, GError **error) should be one line per arg.
0.11.12
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.