From 248895207dc15914ac7970a6d1431308075dca1d Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Thu, 17 Feb 2005 21:19:49 +0000 Subject: 2005-02-17 Colin Walters * dbus/dbus-protocol.h (DBUS_SERVICE_ORG_FREEDESKTOP_DBUS): Rename to DBUS_SERVICE_DBUS. (DBUS_PATH_ORG_FREEDESKTOP_DBUS): Rename to DBUS_PATH_DBUS. (DBUS_PATH_ORG_FREEDESKTOP_LOCAL): Rename to DBUS_PATH_LOCAL. (DBUS_INTERFACE_ORG_FREEDESKTOP_DBUS): Rename to DBUS_INTERFACE_DBUS. (DBUS_INTERFACE_ORG_FREEDESKTOP_INTROSPECTABLE): Rename to DBUS_INTERFACE_INTROSPECTABLE. (DBUS_INTERFACE_ORG_FREEDESKTOP_PROPERTIES): Rename to DBUS_INTERFACE_PROPERTIES. (DBUS_INTERFACE_ORG_FREEDESKTOP_PEER): Rename to DBUS_INTERFACE_PEER. (DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL): DBUS_INTERFACE_LOCAL. All other users of those constants have been changed. * bus/driver.c (bus_driver_handle_introspect): Use constants. * glib/dbus-gobject.c (handle_introspect): Use constants. * doc/dbus-faq.xml, doc/dbus-specification.xml: Update for rename. --- doc/dbus-faq.xml | 2 +- doc/dbus-specification.xml | 34 +++++++++++++++++----------------- 2 files changed, 18 insertions(+), 18 deletions(-) (limited to 'doc') diff --git a/doc/dbus-faq.xml b/doc/dbus-faq.xml index b197297e..a233a212 100644 --- a/doc/dbus-faq.xml +++ b/doc/dbus-faq.xml @@ -123,7 +123,7 @@ generic TextEditor), have multiple objects (maybe /org/kde/documents/4352 where the number changes according to the document), and each object could implement multiple - interfaces, such as org.freedesktop.Introspectable, + interfaces, such as org.freedesktop.DBus.Introspectable, org.freedesktop.BasicTextField, org.kde.RichTextDocument. diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index ad21af62..74df3b33 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -2208,17 +2208,17 @@ that may be useful across various D-BUS applications. - <literal>org.freedesktop.Peer</literal> + <literal>org.freedesktop.DBus.Peer</literal> - The org.freedesktop.Peer interface + The org.freedesktop.DBus.Peer interface has one method: - org.freedesktop.Peer.Ping () + org.freedesktop.DBus.Peer.Ping () On receipt of the METHOD_CALL message - org.freedesktop.Peer.Ping, an application should do + org.freedesktop.DBus.Peer.Ping, an application should do nothing other than reply with a METHOD_RETURN as usual. It does not matter which object path a ping is sent to. The reference implementation should simply handle this method on behalf of @@ -2228,11 +2228,11 @@ - <literal>org.freedesktop.Introspectable</literal> + <literal>org.freedesktop.DBus.Introspectable</literal> This interface has one method: - org.freedesktop.Introspectable.Introspect (out STRING xml_data) + org.freedesktop.DBus.Introspectable.Introspect (out STRING xml_data) @@ -2246,25 +2246,25 @@ - <literal>org.freedesktop.Properties</literal> + <literal>org.freedesktop.DBus.Properties</literal> Many native APIs will have a concept of object properties or attributes. These can be exposed via the - org.freedesktop.Properties interface. + org.freedesktop.DBus.Properties interface. - org.freedesktop.Properties.Get (in STRING interface_name, - in STRING property_name, - out VARIANT value); - org.freedesktop.Properties.Set (in STRING interface_name, - in STRING property_name, - in VARIANT value); + org.freedesktop.DBus.Properties.Get (in STRING interface_name, + in STRING property_name, + out VARIANT value); + org.freedesktop.DBus.Properties.Set (in STRING interface_name, + in STRING property_name, + in VARIANT value); The available properties and whether they are writable can be determined - by calling org.freedesktop.Introspectable.Introspect, + by calling org.freedesktop.DBus.Introspectable.Introspect, see . @@ -2460,14 +2460,14 @@ DESTINATION field is absent, the call is taken to be a standard one-to-one message and interpreted by the message bus itself. For example, sending an - org.freedesktop.Peer.Ping message with no + org.freedesktop.DBus.Peer.Ping message with no DESTINATION will cause the message bus itself to reply to the ping immediately; the message bus will not make this message visible to other applications. - Continuing the org.freedesktop.Peer.Ping example, if + Continuing the org.freedesktop.DBus.Peer.Ping example, if the ping message were sent with a DESTINATION name of com.yoyodyne.Screensaver, then the ping would be forwarded, and the Yoyodyne Corporation screensaver application would be -- cgit