[Telepathy] Proposed spec format update: struct
Simon McVittie
simon.mcvittie at collabora.co.uk
Mon Oct 15 02:18:22 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sat, 13 Oct 2007 at 15:35:58 +0100, Alp Toker wrote:
> After:
> <signal name="NewTube">
> <tp:docstring>
> Emitted when a tube is created.
> </tp:docstring>
> <tp:args name="new_tube_info" tp:type="Tube_Info">
> <tp:docstring>
> Information about the new tube.
> </tp:docstring>
> </arg>
> </signal>
We can't do this without making the conversion from the Telepathy
specification format to ordinary D-Bus introspection (and for that
matter HTML) substantially more complicated.
I have code in telepathy-glib to map from XML struct descriptions (also
dicts and arrays) to GLib GType-generating functions, which includes an
XML file with descriptions of the structs I'm supporting. I intend to
incorporate this in the spec - I'll look at your ideas for struct
formats and make sure my format is at least as expressive as yours.
Simon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: OpenPGP key: http://www.pseudorandom.co.uk/2003/contact/ or pgp.net
iD8DBQFHEzBeWSc8zVUw7HYRAjm5AJ44VPdPzY3UpEupiaU1E2Ca+w2t3ACgy3Dr
50ZcKRagTE2KNxrlOJHCc4E=
=GnnN
-----END PGP SIGNATURE-----
More information about the Telepathy
mailing list