On Tue, 2011-10-11 at 20:16 +0100, Terry Coles wrote:
> So how do Unix/Linux progams export their interfaces?  In MS VisualStudio, I 
> can click on a function or method and right-click to get the interface.

The "free desktop" way of doing this is D-Bus.  The interface
description for your D-Bus object is written in XML:
http://dbus.freedesktop.org/doc/dbus-specification.html#introspection-format

and is available at runtime using the special
org.freedesktop.DBus.Introspectable interface on the object.

You can inspect running objects visually using d-feet, and even call
methods on them if you like:
http://live.gnome.org/DFeet/

I believe that gtk-doc can convert the D-Bus Introspection data into
e.g. HTML, as in:
http://www.packagekit.org/gtk-doc/PackageKit.html

For libraries, GObject Introspection is also relevant to this topic:
https://live.gnome.org/GObjectIntrospection

It's a method for automatically creating language bindings for APIs,
including documentation.

Tim.
*/

Attachment: signature.asc
Description: This is a digitally signed message part

--
Next meeting:  Bournemouth, Tuesday 2011-11-01 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to