diff options
| author | Stefan Monnier | 2012-03-25 16:37:21 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2012-03-25 16:37:21 -0400 |
| commit | 699c782b7668c44d0fa4446331b0590a6d5dac82 (patch) | |
| tree | 5dcce364741d0761920a3d274b0fc8aba4103d45 /doc/misc/dbus.texi | |
| parent | 98fb480ee31bf74cf554044f60f21df16566dd7f (diff) | |
| parent | e99a9b8bdccadded1f6fae88ee7a2a93dfd4eacf (diff) | |
| download | emacs-pending.tar.gz emacs-pending.zip | |
Merge from trunkpending
Diffstat (limited to 'doc/misc/dbus.texi')
| -rw-r--r-- | doc/misc/dbus.texi | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/misc/dbus.texi b/doc/misc/dbus.texi index e6fb00d3482..204afe7056e 100644 --- a/doc/misc/dbus.texi +++ b/doc/misc/dbus.texi | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | @syncodeindex fn cp | 9 | @syncodeindex fn cp |
| 10 | 10 | ||
| 11 | @copying | 11 | @copying |
| 12 | Copyright @copyright{} 2007-2011 Free Software Foundation, Inc. | 12 | Copyright @copyright{} 2007-2012 Free Software Foundation, Inc. |
| 13 | 13 | ||
| 14 | @quotation | 14 | @quotation |
| 15 | Permission is granted to copy, distribute and/or modify this document | 15 | Permission is granted to copy, distribute and/or modify this document |
| @@ -332,7 +332,7 @@ Example: | |||
| 332 | @code{method}, @code{signal}, and @code{property} elements. Unlike | 332 | @code{method}, @code{signal}, and @code{property} elements. Unlike |
| 333 | properties, which can change their values during lifetime of a D-Bus | 333 | properties, which can change their values during lifetime of a D-Bus |
| 334 | object, annotations are static. Often they are used for code | 334 | object, annotations are static. Often they are used for code |
| 335 | generators of D-Bus langugae bindings. Example: | 335 | generators of D-Bus language bindings. Example: |
| 336 | 336 | ||
| 337 | @example | 337 | @example |
| 338 | <annotation name="de.berlios.Pinot.GetStatistics" value="pinotDBus"/> | 338 | <annotation name="de.berlios.Pinot.GetStatistics" value="pinotDBus"/> |
| @@ -553,7 +553,7 @@ data from a running system: | |||
| 553 | @node Methods and Signal | 553 | @node Methods and Signal |
| 554 | @section Applying the functionality. | 554 | @section Applying the functionality. |
| 555 | 555 | ||
| 556 | Methods and signals are the communicatione means to D-Bus. The | 556 | Methods and signals are the communication means to D-Bus. The |
| 557 | following functions return their specifications. | 557 | following functions return their specifications. |
| 558 | 558 | ||
| 559 | @defun dbus-introspect-get-method-names bus service path interface | 559 | @defun dbus-introspect-get-method-names bus service path interface |
| @@ -1606,9 +1606,10 @@ D-Bus @var{bus}. | |||
| 1606 | 1606 | ||
| 1607 | @var{service} is the D-Bus service name used by the sending D-Bus | 1607 | @var{service} is the D-Bus service name used by the sending D-Bus |
| 1608 | object. It can be either a known name or the unique name of the D-Bus | 1608 | object. It can be either a known name or the unique name of the D-Bus |
| 1609 | object sending the signal. In case of a unique name, signals won't be | 1609 | object sending the signal. A known name will be mapped onto the |
| 1610 | received any longer once the object owning this unique name has | 1610 | unique name of the object, owning @var{service} at registration time. |
| 1611 | disappeared, and a new queued object has replaced it. | 1611 | When the corresponding D-Bus object disappears, signals won't be |
| 1612 | received any longer. | ||
| 1612 | 1613 | ||
| 1613 | When @var{service} is @code{nil}, related signals from all D-Bus | 1614 | When @var{service} is @code{nil}, related signals from all D-Bus |
| 1614 | objects shall be accepted. | 1615 | objects shall be accepted. |
| @@ -1677,7 +1678,7 @@ Establish the connection to D-Bus @var{bus}. | |||
| 1677 | 1678 | ||
| 1678 | @var{bus} can be either the symbol @code{:system} or the symbol | 1679 | @var{bus} can be either the symbol @code{:system} or the symbol |
| 1679 | @code{:session}, or it can be a string denoting the address of the | 1680 | @code{:session}, or it can be a string denoting the address of the |
| 1680 | corresponding bus. For the system and session busses, this function | 1681 | corresponding bus. For the system and session buses, this function |
| 1681 | is called when loading @file{dbus.el}, there is no need to call it | 1682 | is called when loading @file{dbus.el}, there is no need to call it |
| 1682 | again. | 1683 | again. |
| 1683 | 1684 | ||
| @@ -1816,7 +1817,7 @@ handled by a hook function. | |||
| 1816 | @defvar dbus-event-error-hooks | 1817 | @defvar dbus-event-error-hooks |
| 1817 | This hook variable keeps a list of functions, which are called when a | 1818 | This hook variable keeps a list of functions, which are called when a |
| 1818 | D-Bus error happens in the event handler. Every function must accept | 1819 | D-Bus error happens in the event handler. Every function must accept |
| 1819 | two arguments, the event and the error variable catched in | 1820 | two arguments, the event and the error variable caught in |
| 1820 | @code{condition-case} by @code{dbus-error}. | 1821 | @code{condition-case} by @code{dbus-error}. |
| 1821 | 1822 | ||
| 1822 | Such functions can be used the adapt the error signal to be raised. | 1823 | Such functions can be used the adapt the error signal to be raised. |